几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】svg Vectorizing Of This File Renders Incorrectly (http://www.dimcax.com/hust/showthread.php?t=18694)

yang686526 2009-05-07 04:33 PM

【转帖】svg Vectorizing Of This File Renders Incorrectly
 
svg vectorizing of this file renders incorrectly...
svg vectorizing of this file renders incorrectly...
the wipeouts are not vectorized properly. (using odamfcapp 2.4.1.0)
attached files
wipeouts are rendered with the palette background color. it should be explicitly set to gicontext passed to rendering device (e.g. in oddbgsmanager::setupactivelayoutviews).
in svgexportcommand::execute() it should look like
code:
pdwgcontext->setpalettebackground((odrxvariantvalue)dev->properties()->getat("background"));if you are using svg export via command, then you have to rebuild dd_svgexport*.drx. if no, insert the quoted line in your export code.
vladimir


所有的时间均为北京时间。 现在的时间是 05:06 PM.