diff options
-rw-r--r-- | src/cairo-gstate.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/cairo-gstate.c b/src/cairo-gstate.c index c90f2f634..6319471ac 100644 --- a/src/cairo-gstate.c +++ b/src/cairo-gstate.c @@ -1235,12 +1235,12 @@ _cairo_gstate_in_stroke (cairo_gstate_t *gstate, _cairo_traps_init (&traps); _cairo_traps_limit (&traps, &limit, 1); - status = _cairo_path_fixed_stroke_to_traps (path, - &gstate->stroke_style, - &gstate->ctm, - &gstate->ctm_inverse, - gstate->tolerance, - &traps); + status = _cairo_path_fixed_stroke_polygon_to_traps (path, + &gstate->stroke_style, + &gstate->ctm, + &gstate->ctm_inverse, + gstate->tolerance, + &traps); if (unlikely (status)) goto BAIL; @@ -1465,12 +1465,12 @@ _cairo_gstate_stroke_extents (cairo_gstate_t *gstate, cairo_traps_t traps; _cairo_traps_init (&traps); - status = _cairo_path_fixed_stroke_to_traps (path, - &gstate->stroke_style, - &gstate->ctm, - &gstate->ctm_inverse, - gstate->tolerance, - &traps); + status = _cairo_path_fixed_stroke_polygon_to_traps (path, + &gstate->stroke_style, + &gstate->ctm, + &gstate->ctm_inverse, + gstate->tolerance, + &traps); empty = traps.num_traps == 0; if (! empty) _cairo_traps_extents (&traps, &extents); |