几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】svgexport Question (http://www.dimcax.com/hust/showthread.php?t=18697)

yang686526 2009-05-07 04:34 PM

【转帖】svgexport Question
 
svgexport question
svgexport question
hello,
is it possible, to set background of svg output?
for example i would like to set odcmacaddarkpalette() palette and than set black background to svg output.
can this be done with current svgexport implementation?
do you intend to add this feature, or should i add this to svgexport.cpp file?
by the way, the svgexport functionality is really great.
regards, tomaz
in svg there is no legal way to set background color.
it is supposed to be set in html page where svg is embedded.
all that we can do is to paint background rectangle of the specified color. is that what you meant?
hello,
yes, that is exactly what i meant. in previous release of svg export (viewkit), a filled rectangle was drawn as a background.
i am just wandering, if this option will be included into the svgexport lib.
regards, tomaz
ok, it will be included in the maintenance release

great!
thanks a lot.
regards, tomaz


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