Re: PATCH : cairo-path-stroke-traps.c : Fixes spline stroke-clipped, i.c. of a dashed stroke
"Bryce W. Harrington" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
Reviewed-by: Bryce Harrington <[email protected]> On Wed, Oct 09, 2013 at 02:40:18PM +0200, ed44 wrote: > Similar to 1f4d05b55c96347aa4240190fda27f951b00c539 (typo) , only > the dashed version > > Ed. > > > > > >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 > > -- > cairo mailing list > [email protected] > http://lists.cairographics.org/mailman/listinfo/cairo -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo