diff options
author | Dom Lachowicz <doml@src.gnome.org> | 2003-01-27 16:35:43 +0000 |
---|---|---|
committer | Dom Lachowicz <doml@src.gnome.org> | 2003-01-27 16:35:43 +0000 |
commit | 0ceb853801e73641f405e5e753fc09d0620b1760 (patch) | |
tree | e53a98471886bd72ae751f8532ce5202e2e3a705 /rsvg-paint-server.h | |
parent | 0a0842ec0f34beed010707395cc98de7ac74e7cc (diff) | |
download | librsvg-0ceb853801e73641f405e5e753fc09d0620b1760.tar.gz |
fix crash wrt sodipodi and linear/radial Gradients. output still isn't correct, though...
Diffstat (limited to 'rsvg-paint-server.h')
-rw-r--r-- | rsvg-paint-server.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rsvg-paint-server.h b/rsvg-paint-server.h index cea56ac9..b060b08e 100644 --- a/rsvg-paint-server.h +++ b/rsvg-paint-server.h @@ -70,19 +70,19 @@ struct _RsvgGradientStops { struct _RsvgLinearGradient { RsvgDefVal super; double affine[6]; /* user space to actual at time of gradient def */ + RsvgGradientStops *stops; double x1, y1; double x2, y2; ArtGradientSpread spread; - RsvgGradientStops *stops; }; struct _RsvgRadialGradient { RsvgDefVal super; double affine[6]; /* user space to actual at time of gradient def */ + RsvgGradientStops *stops; double cx, cy; double r; double fx, fy; - RsvgGradientStops *stops; }; /* Create a new paint server based on a specification string. */ @@ -100,10 +100,10 @@ void rsvg_paint_server_unref (RsvgPaintServer *ps); RsvgRadialGradient * -rsvg_clone_radial_gradient (const RsvgRadialGradient *grad); +rsvg_clone_radial_gradient (const RsvgRadialGradient *grad, gboolean * shallow_cloned); RsvgLinearGradient * -rsvg_clone_linear_gradient (const RsvgLinearGradient *grad); +rsvg_clone_linear_gradient (const RsvgLinearGradient *grad, gboolean * shallow_cloned); G_END_DECLS |