diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-12-29 12:45:13 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-12-29 12:55:09 +0000 |
commit | 010085622674bd02098742f401409da8e7c1b1dc (patch) | |
tree | 4db64f71ca0e5040df36cda4ed565d243b6c0cdc /src/cairo-analysis-surface.c | |
parent | 84b81388bef4a2f300580081415fe09947edb96e (diff) |
[path] Remove tolerance from path bounders
With Behdad's analytical analysis of the spline bbox, tolerance is now
redundant for the path extents and the approximate bounds, so remove it
from the functions parameters.
Diffstat (limited to 'src/cairo-analysis-surface.c')
-rw-r--r-- | src/cairo-analysis-surface.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cairo-analysis-surface.c b/src/cairo-analysis-surface.c index b3eab41f..b80ad628 100644 --- a/src/cairo-analysis-surface.c +++ b/src/cairo-analysis-surface.c @@ -481,7 +481,7 @@ _cairo_analysis_surface_stroke (void *abstract_surface, cairo_rectangle_int_t mask_extents; _cairo_path_fixed_approximate_stroke_extents (path, - style, ctm, tolerance, + style, ctm, &mask_extents); is_empty = _cairo_rectangle_intersect (&extents, &mask_extents); @@ -539,7 +539,6 @@ _cairo_analysis_surface_fill (void *abstract_surface, cairo_rectangle_int_t mask_extents; _cairo_path_fixed_approximate_fill_extents (path, - tolerance, &mask_extents); is_empty = _cairo_rectangle_intersect (&extents, &mask_extents); |