summaryrefslogtreecommitdiff
path: root/src/cairo-matrix.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-11-30 13:49:24 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2009-01-29 14:55:21 +0000
commitdd4276c6618aa250637e4499bc7cb0a35b24448c (patch)
tree2ea77749766b4b3f37cab5092f4acb59ef398007 /src/cairo-matrix.c
parent7f95288c03a400bf770165d427ef623d924b3b47 (diff)
downloadcairo-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.c3
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;