23 Sep
2004
23 Sep
'04
11:48 p.m.
I got color export working! Here is an example, with our beloved logo again:
http://troi.hous.es3.titan.com/~rjamison/inkscape/files/ispov.png
I don't have the shading correct (note the 'jaggies' where black and white pieces join), but it is a nice start.
I committed this fix, and updated istest.pov to handle it.
I noticed that Inkscape gradients look like hell in POV, but we can just delete them.
Bob
bulia byak wrote:
SPStyle *style = SP_OBJECT_STYLE(shape); if (style && (style->fill.type == SP_PAINT_TYPE_COLOR)) { SPColor *color = style->fill.value.color; // see color.h for how to parse SPColor }
(untested)