高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】converting a dwg to a windows metafile 9wmf0
converting a dwg to a windows metafile (wmf)
converting a dwg to a windows metafile (wmf)
what is the simpliest way to export a oddbdatabase to a wmf file ?
i'm currently trying to do this very thing. i seems that you have render the drawing by calling the update method, and override the odgigeometrysimplifier class, (specifically the polylineout, shellfaceout, rasterimageproc and metafileproc methods) to draw to the wmf device context.
i suggest you look at the exgssimpledevice sample as a good starting point. it does not do any rendering, but it provides all the hooks you need.
regards,
sijmen.
|