高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|