From 4d3632761b928c14fb1ce257af077f45658d8537 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 25 Apr 2010 09:42:13 +0100 Subject: 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 --- src/cairo-clip-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cairo-clip-private.h') 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, -- cgit v1.2.3