PATCH : cairo-path-stroke-traps.c : Fixes spline stroke-clipped, i.c. of a dashed stroke
ed44 <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
Similar to 1f4d05b55c96347aa4240190fda27f951b00c539 (typo) , only the dashed version Ed. -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo
0001-Fixes-stroke-clipped-i.c.-of-a-dashed-stroke.patch
(text/plain, 967 B)
From f6c1d7d2306b2c040c0bf8bd955721914b0cb697 Mon Sep 17 00:00:00 2001 From: egag <[email protected]> Date: Wed, 9 Oct 2013 14:14:02 +0200 Subject: [PATCH] Fixes stroke-clipped, i.c. of a dashed stroke Similar to 1f4d05b55c96347aa4240190fda27f951b00c539 'Fix calling '_cairo_spline_intersect' for in-bounds checking of splines' --- src/cairo-path-stroke-traps.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/cairo-path-stroke-traps.c b/src/cairo-path-stroke-traps.c index 304dea7..8b6e30f 100644 --- a/src/cairo-path-stroke-traps.c +++ b/src/cairo-path-stroke-traps.c @@ -1019,7 +1019,7 @@ curve_to_dashed (void *closure, func = (cairo_spline_add_point_func_t)line_to_dashed; 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->line_bounds)) return func (closure, d, NULL); -- 1.7.4.4