From 8a323d7c8998f308fc222d65badb1289e3f7fb54 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 29 Aug 2009 14:15:07 +0100 Subject: [clip] Apply surface offset when combining with clip mask In order to correctly combine the clip mask with the compositing mask the clip path must be offset so that it is relative to the destination surface. --- src/cairo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cairo.h') diff --git a/src/cairo.h b/src/cairo.h index b750c4e3..a046a471 100644 --- a/src/cairo.h +++ b/src/cairo.h @@ -2518,7 +2518,7 @@ cairo_public void cairo_region_translate (cairo_region_t *region, int dx, int dy); cairo_public cairo_status_t -cairo_region_subtract (cairo_region_t *dst, cairo_region_t *other); +cairo_region_subtract (cairo_region_t *dst, const cairo_region_t *other); cairo_public cairo_status_t cairo_region_subtract_rectangle (cairo_region_t *dst, -- cgit v1.2.3