diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-11-30 13:49:24 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-01-29 14:55:21 +0000 |
commit | dd4276c6618aa250637e4499bc7cb0a35b24448c (patch) | |
tree | 2ea77749766b4b3f37cab5092f4acb59ef398007 /src/cairo-matrix.c | |
parent | 7f95288c03a400bf770165d427ef623d924b3b47 (diff) | |
download | cairo-dd4276c6618aa250637e4499bc7cb0a35b24448c.tar.gz |
[stroker] Rectilinear dashing.
Extend the rectilinear stroker to handle dashes, so that for pixel-aligned
dashed strokes we completely avoid tessellation overhead.
Diffstat (limited to 'src/cairo-matrix.c')
-rw-r--r-- | src/cairo-matrix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-matrix.c b/src/cairo-matrix.c index b6174725f..b9e7290a6 100644 --- a/src/cairo-matrix.c +++ b/src/cairo-matrix.c @@ -839,7 +839,8 @@ _cairo_matrix_is_pixel_exact (const cairo_matrix_t *matrix) /* determine the length of the major axis of a circle of the given radius after applying the transformation matrix. */ double -_cairo_matrix_transformed_circle_major_axis (cairo_matrix_t *matrix, double radius) +_cairo_matrix_transformed_circle_major_axis (const cairo_matrix_t *matrix, + double radius) { double a, b, c, d, f, g, h, i, j; |