diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-02 14:52:03 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-02 14:53:18 +0000 |
commit | 1f4d05b55c96347aa4240190fda27f951b00c539 (patch) | |
tree | 08a4edde94c79a2440140b5e31b0b6056707e68e /src/cairo-path-stroke-polygon.c | |
parent | 2dd4ff32064c3c564e0902ae07330272e6676c22 (diff) | |
download | cairo-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.c | 2 |
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); |