mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 23:28:07 +02:00
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>
This commit is contained in:
parent
2dd4ff3206
commit
1f4d05b55c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue