diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 12:08:12 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 17:10:05 +0100 |
commit | 21225a7163bc93d34d3e395c840faaba24046bb6 (patch) | |
tree | 0c95841ea3b47b20b0da4ecc307f42a6ce351653 /src/cairo-clip-private.h | |
parent | ac6c6fe1d39effd5b6b382f0f1199af824868ef4 (diff) | |
download | cairo-21225a7163bc93d34d3e395c840faaba24046bb6.tar.gz |
[clip] Pass in destination offset for combining with clip-mask
When combining a clip-mask with a subsurface, as when used to combine with
the composite mask, we need to pass the destination surface offset to the
clip so that the paths can be corrected for the new surface.
Diffstat (limited to 'src/cairo-clip-private.h')
-rw-r--r-- | src/cairo-clip-private.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cairo-clip-private.h b/src/cairo-clip-private.h index a7e06a9a2..f8faa75a1 100644 --- a/src/cairo-clip-private.h +++ b/src/cairo-clip-private.h @@ -114,7 +114,9 @@ cairo_private cairo_surface_t * _cairo_clip_get_surface (cairo_clip_t *clip, cairo_surface_t *dst); cairo_private cairo_status_t -_cairo_clip_combine_with_surface (cairo_clip_t *clip, cairo_surface_t *dst); +_cairo_clip_combine_with_surface (cairo_clip_t *clip, + cairo_surface_t *dst, + int dst_x, int dst_y); cairo_private cairo_int_status_t _cairo_clip_get_region (cairo_clip_t *clip, |