![]() |
【转帖】rasterize a dwg to an existing bitmap
rasterize a dwg to an existing bitmap
rasterize a dwg to an existing bitmap hi, i need to be able to rasterize the contents of a dwg to a bitmap wich may or may not already contain other information, so i need to control wether or not the bitmap is cleared before the rasterisation. i have been looking into the examples wingdi, winbitmap odvectorizeex and so on, but i am afraid i get a bit lost in all the classes used. i can see it is being used in the odamfcapp sample, but then it is used in the context of a view, which i will not have. i will just have a hdc from createcompatibledc() with a hbitmap selected into it from createcompatblebitmap(). i will draw some things into this hdc/hbitmap, and then want to rasterize the contents of a dwg over this information without first clearing the background. in addition to this i use my own world to pixel (device) transformation, so i will have to be able to tell the rasteriser what transformation to use. suggestions would be very welcome!!! kind regards, jeroen posch. |
所有的时间均为北京时间。 现在的时间是 06:34 AM. |