[cairo] PATCH : cairo-path-stroke-traps.c : Fixes spline stroke-clipped, i.c. of a dashed stroke

Bryce W. Harrington b.harrington at samsung.com
Wed Nov 6 21:23:41 CET 2013


On Tue, Oct 29, 2013 at 10:02:39PM +0000, Bryce W. Harrington wrote:
> Reviewed-by: Bryce Harrington <b.harrington at samsung.com>
> 
> On Wed, Oct 09, 2013 at 02:40:18PM +0200, ed44 wrote:
> > Similar to 1f4d05b55c96347aa4240190fda27f951b00c539  (typo) , only
> > the dashed version
> > 
> > Ed.
> > 

Committed; thanks!

> > 
> > 
> 
> > >From f6c1d7d2306b2c040c0bf8bd955721914b0cb697 Mon Sep 17 00:00:00 2001
> > From: egag <ed44 at xs4all.nl>
> > 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
> > cairo at cairographics.org
> > http://lists.cairographics.org/mailman/listinfo/cairo
> -- 
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list