summaryrefslogtreecommitdiff
path: root/src/cairo-path-stroke-polygon.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-11-02 14:52:03 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-11-02 14:53:18 +0000
commit1f4d05b55c96347aa4240190fda27f951b00c539 (patch)
tree08a4edde94c79a2440140b5e31b0b6056707e68e /src/cairo-path-stroke-polygon.c
parent2dd4ff32064c3c564e0902ae07330272e6676c22 (diff)
downloadcairo-1f4d05b55c96347aa4240190fda27f951b00c539.tar.gz
stroke: Fix calling '_cairo_spline_intersect' for in-bounds checking of splines
Fixes stroke-clipped, within reason. There still remains some antialiasing noise (between rendering the circle piecewise and wholly) worth investigating - but that is probably an artefact of switching between analytical rendering modes in the scanline rasterisation. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-path-stroke-polygon.c')
-rw-r--r--src/cairo-path-stroke-polygon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-path-stroke-polygon.c b/src/cairo-path-stroke-polygon.c
index f6e81e03e..2c8fe5e7e 100644
--- a/src/cairo-path-stroke-polygon.c
+++ b/src/cairo-path-stroke-polygon.c
@@ -1169,7 +1169,7 @@ curve_to (void *closure,
cairo_stroke_face_t face;
if (stroker->has_bounds &&
- ! _cairo_spline_intersects (&stroker->current_face.point, b, c, b,
+ ! _cairo_spline_intersects (&stroker->current_face.point, b, c, d,
&stroker->bounds))
return line_to (closure, d);