diff options
author | Andrea Canciani <ranma42@gmail.com> | 2010-11-23 17:49:50 +0100 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2010-12-13 09:46:09 +0100 |
commit | 341e5b3246f785a4791606ea62873cfb180efae6 (patch) | |
tree | 6baf0ec94baf90febe7fa6f7121579426e965333 /src/cairo-types-private.h | |
parent | 08cb6db5206203fda919e3d258ce7fdbb3e3c9d8 (diff) |
pattern: Add a function to interpolate gradient objects.
This will be a common function used by the quartz, ps, and pdf
backends when rewriting EXTEND_REFLECT/REPEAT gradients in terms
of EXTEND_PAD gradients.
Reviewed-by: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
Diffstat (limited to 'src/cairo-types-private.h')
-rw-r--r-- | src/cairo-types-private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cairo-types-private.h b/src/cairo-types-private.h index 85f5d51a9..1282b3ff0 100644 --- a/src/cairo-types-private.h +++ b/src/cairo-types-private.h @@ -252,6 +252,11 @@ typedef struct _cairo_point_double { double y; } cairo_point_double_t; +typedef struct _cairo_circle_double { + cairo_point_double_t center; + double radius; +} cairo_circle_double_t; + typedef struct _cairo_distance_double { double dx; double dy; |