
18 Mar
2005
18 Mar
'05
7:03 p.m.
--- extension/internal/ps.cpp 2 Mar 2005 02:31:31 -0000 1.56 +++ extension/internal/ps.cpp 18 Mar 2005 18:22:27 -0000 @@ -683,6 +683,7 @@ if (g->gradientTransform_set) { os << "grestore\n"; }
os << "initclip\n"; } } else { if (style->fill.type == SP_PAINT_TYPE_COLOR) {
@@ -699,6 +700,7 @@ if (g->gradientTransform_set) { os << "grestore\n"; }
os << "initclip\n"; } } fprintf(_stream, "%s", os.str().c_str());
Probably a better solution is to simply make the gsave/grestore unconditional. initclip completely resets the clipping state, which is bad if we want to implement SVG clipping properly later.
-mental