diff options
author | Carl Worth <cworth@cworth.org> | 2006-02-13 16:47:32 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-02-13 16:47:32 -0800 |
commit | 01dd527ef3cb3205e33ffec90a11fda11f0e281a (patch) | |
tree | 39c7e267083fde15b6cbc249b34d597d4d6522ff /src/cairo-quartz-surface.c | |
parent | 6aff9afc22eb6c5c814992c5ca4b3bd437935d3a (diff) | |
parent | 0e40baa9a7bd08abd15bfdc666c6e2d21d791e82 (diff) |
Remove pixman from SNAPSHOT_0_5_2SNAPSHOT_0_5_2
Diffstat (limited to 'src/cairo-quartz-surface.c')
-rw-r--r-- | src/cairo-quartz-surface.c | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c index 56684251..17d51303 100644 --- a/src/cairo-quartz-surface.c +++ b/src/cairo-quartz-surface.c @@ -58,12 +58,11 @@ ImageDataReleaseFunc(void *info, const void *data, size_t size) } } -static cairo_surface_t *_cairo_quartz_surface_create_similar(void - *abstract_src, - cairo_format_t - format, - int width, - int height) +static cairo_surface_t * +_cairo_quartz_surface_create_similar (void *abstract_src, + cairo_content_t content, + int width, + int height) { return NULL; } @@ -135,12 +134,6 @@ _cairo_quartz_surface_acquire_source_image(void *abstract_surface, surface->width, surface->height, rowBytes); - - // Set the image surface Cairo state to match our own. - _cairo_image_surface_set_repeat(surface->image, surface->base.repeat); - _cairo_image_surface_set_matrix(surface->image, - &(surface->base.matrix)); - *image_out = surface->image; *image_extra = NULL; @@ -194,8 +187,11 @@ _cairo_quartz_surface_set_clip_region(void *abstract_surface, pixman_region16_t * region) { cairo_quartz_surface_t *surface = abstract_surface; + unsigned int serial; - return _cairo_surface_set_clip_region(&surface->image->base, region); + serial = _cairo_surface_allocate_clip_serial (&surface->image->base); + return _cairo_surface_set_clip_region(&surface->image->base, + region, serial); } static cairo_int_status_t |