diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 14:15:07 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 17:12:31 +0100 |
commit | 8a323d7c8998f308fc222d65badb1289e3f7fb54 (patch) | |
tree | e8da2aef5f951e485098a9efd46c49e1d2bc4ba2 /src/cairo.h | |
parent | 21225a7163bc93d34d3e395c840faaba24046bb6 (diff) |
[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.
Diffstat (limited to 'src/cairo.h')
-rw-r--r-- | src/cairo.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, |