Commit 5adc9e5d authored by Caleb Michael Moore's avatar Caleb Michael Moore

radial gradient fix

parent 190d010b
2005-10-10 Caleb Moore <>
* rsvg-cairo-draw.c: patterns now transform correctly, passes all pattern tests
* rsvg-cairo-draw.c: fx and fy were confused with cx and cy in the radial gradient section
2005-10-09 Caleb Moore <>
......@@ -130,9 +130,8 @@ _set_source_rsvg_radial_gradient (cairo_t *cr,
if (radial->has_current_color)
current_color_rgb = radial->current_color;
/* XXX: This seems to work ok... */
pattern = cairo_pattern_create_radial (radial->cx, radial->cy, 0.0,
radial->fx, radial->fy, radial->r);
pattern = cairo_pattern_create_radial (radial->fx, radial->fy, 0.0,
radial->cx, radial->cy, radial->r);
cairo_matrix_init (&matrix,
radial->affine[0], radial->affine[1],
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment