diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-08-24 17:22:34 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-03 15:07:18 +0000 |
commit | 5bc1b1f6aac108d9a3963352ad774bb4fcd69e28 (patch) | |
tree | bb5cded7a588e82b5481a0486f76c4c7bf7dca40 /src/cairo-path-stroke.c | |
parent | 74941f822015cc50cd8477d0cf97f1a70dbff60b (diff) | |
download | cairo-5bc1b1f6aac108d9a3963352ad774bb4fcd69e28.tar.gz |
stroke: Make the incremental trapezoid stroker optionally available again
Whilst it cannot handle self-intersecting strokes (which includes the
antialias region of neighbouring lines and joints), it is about 3x
faster to use than the more robust algorithm. As some backends delegate
the rendering, the quality may still be preserved and so they should be
responsible for choosing the appropriate method for generation of the
stroke geometry.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-path-stroke.c')
-rw-r--r-- | src/cairo-path-stroke.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cairo-path-stroke.c b/src/cairo-path-stroke.c index a81e3bc3d..cd6b3a271 100644 --- a/src/cairo-path-stroke.c +++ b/src/cairo-path-stroke.c @@ -1341,12 +1341,12 @@ BAIL: } cairo_int_status_t -_cairo_path_fixed_stroke_to_traps (const cairo_path_fixed_t *path, - const cairo_stroke_style_t *stroke_style, - const cairo_matrix_t *ctm, - const cairo_matrix_t *ctm_inverse, - double tolerance, - cairo_traps_t *traps) +_cairo_path_fixed_stroke_polygon_to_traps (const cairo_path_fixed_t *path, + const cairo_stroke_style_t *stroke_style, + const cairo_matrix_t *ctm, + const cairo_matrix_t *ctm_inverse, + double tolerance, + cairo_traps_t *traps) { cairo_int_status_t status; cairo_polygon_t polygon; |