diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-28 10:05:52 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 08:08:33 +0100 |
commit | 3f12d9ec5db1ac372742c3c03408bdaeaffdc1e4 (patch) | |
tree | a46be582bac6364db75df1c5c32ef79ab2538e2f /src/cairo-types-private.h | |
parent | 2457c4bedef0447f7bff9b54dba96126010917ac (diff) | |
download | cairo-3f12d9ec5db1ac372742c3c03408bdaeaffdc1e4.tar.gz |
[clip] Use geometric clipping for unaligned clips
For the simple cases where the clip is an unaligned box (or boxes), apply
the clip directly to the geometry and avoid having to use an intermediate
clip-mask.
Diffstat (limited to 'src/cairo-types-private.h')
-rw-r--r-- | src/cairo-types-private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-types-private.h b/src/cairo-types-private.h index 1e1f823d8..54bd2a747 100644 --- a/src/cairo-types-private.h +++ b/src/cairo-types-private.h @@ -254,8 +254,8 @@ typedef struct _cairo_polygon { cairo_bool_t has_current_edge; cairo_box_t extents; - cairo_box_t limits; - cairo_bool_t has_limits; + const cairo_box_t *limits; + int num_limits; int num_edges; int edges_size; |