summaryrefslogtreecommitdiff
path: root/src/cairo-clip-private.h
diff options
context:
space:
mode:
authorVladimir Vukicevic <vladimir@pobox.com>2007-06-18 18:33:29 -0700
committerVladimir Vukicevic <vladimir@binky.(none)>2007-07-18 22:46:46 +0200
commit0abe5324a5b03149630a5b6496c980f83be4fd75 (patch)
tree0109bc3965c9f0e7037567d61a9fc37f45eb8957 /src/cairo-clip-private.h
parentdc035fecda0070e18a68e06f567f268fc39483f1 (diff)
[fixpt] Create cairo_region wrapper around pixman_region16_t
Insulate region-using code from implementation details; at some point we'll want to switch to using 32-bit regions.
Diffstat (limited to 'src/cairo-clip-private.h')
-rw-r--r--src/cairo-clip-private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-clip-private.h b/src/cairo-clip-private.h
index fa3942325..61559ce5b 100644
--- a/src/cairo-clip-private.h
+++ b/src/cairo-clip-private.h
@@ -72,7 +72,7 @@ struct _cairo_clip {
/*
* A clip region that can be placed in the surface
*/
- pixman_region16_t region;
+ cairo_region_t region;
cairo_bool_t has_region;
/*
* If the surface supports path clipping, we store the list of
@@ -109,7 +109,7 @@ _cairo_clip_intersect_to_rectangle (cairo_clip_t *clip,
cairo_private cairo_status_t
_cairo_clip_intersect_to_region (cairo_clip_t *clip,
- pixman_region16_t *region);
+ cairo_region_t *region);
cairo_private cairo_status_t
_cairo_clip_combine_to_surface (cairo_clip_t *clip,