diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-04-25 09:42:13 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-04-25 09:45:41 +0100 |
commit | 4d3632761b928c14fb1ce257af077f45658d8537 (patch) | |
tree | b39077750611dbc0d0344cb1dd9b5a25031f7ece /src/cairo-clip-private.h | |
parent | 241ce933f8fa44210015dcdc4a66b3f9d8ac56e8 (diff) |
clip: Report the surface offset when retrieving the clip mask
Stop the callers from guessing the origin of the clip surface by
reporting it explicitly! This enables the clip to bypass any rectangles
overlaid on top of the clip surface, which is common when the backends
limit the clip to the extents of the operation -- but irrelevant to the
actual content of the clip mask
Diffstat (limited to 'src/cairo-clip-private.h')
-rw-r--r-- | src/cairo-clip-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-clip-private.h b/src/cairo-clip-private.h index 815fbf864..8e30f13ad 100644 --- a/src/cairo-clip-private.h +++ b/src/cairo-clip-private.h @@ -112,7 +112,7 @@ cairo_private const cairo_rectangle_int_t * _cairo_clip_get_extents (const cairo_clip_t *clip); cairo_private cairo_surface_t * -_cairo_clip_get_surface (cairo_clip_t *clip, cairo_surface_t *dst); +_cairo_clip_get_surface (cairo_clip_t *clip, cairo_surface_t *dst, int *tx, int *ty); cairo_private cairo_status_t _cairo_clip_combine_with_surface (cairo_clip_t *clip, |