![]() |
【转帖】image clipping
image clipping
image clipping hi, i'm trying to clip raster images in dwgdirect 1.3. i do everything like in the examples atached to the library, but the size of the image is wrong. my code related with clipping is similar to this: code: odgepoint2darray pts; pts.push_back(odgepoint2d(0, 0)); pts.push_back(odgepoint2d(xx,yy)); pdbraster->setclipboundary(pts); pdbraster->setdisplayopt(oddbrasterimage::kclip, true); pdbraster->setclipped(true); when i add a clip boundary, added poins are probably recalculated by the library, but the new values are different from mine and wrong. is this related with the image orientation ? thanks for help i can't reproduce any problems with this. please note that pts are in pixels, not in ocs. sincerely yours, george udov |
所有的时间均为北京时间。 现在的时间是 09:56 AM. |