diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-01-19 17:11:55 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-01-22 23:01:51 +0000 |
commit | ae25f1c360b79f0b7b1bb73e9ebc47eb794d8007 (patch) | |
tree | 1e8275333922a32bf5f22bdf42a3a44751085adb /src/cairo-rectangle.c | |
parent | 9cd9137843f8f1c3d32bedb6510259ab3638a2c5 (diff) | |
download | cairo-ae25f1c360b79f0b7b1bb73e9ebc47eb794d8007.tar.gz |
Alter definition of cairo_composite_rectangles_t
This is a more useful definition that is able to individually track the
rectangles that compose the composite operation. This will be used by
the specialist compositors as a means to perform the common extents
determination for an operation.
Diffstat (limited to 'src/cairo-rectangle.c')
-rw-r--r-- | src/cairo-rectangle.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/cairo-rectangle.c b/src/cairo-rectangle.c index e887c7513..2bc453503 100644 --- a/src/cairo-rectangle.c +++ b/src/cairo-rectangle.c @@ -246,24 +246,3 @@ _cairo_box_contains_point (cairo_box_t *box, const cairo_point_t *point) return FALSE; return TRUE; } - -void -_cairo_composite_rectangles_init( - cairo_composite_rectangles_t *rects, - int all_x, - int all_y, - int width, - int height) -{ - rects->src.x = all_x; - rects->src.y = all_y; - rects->mask.x = all_x; - rects->mask.y = all_y; - rects->clip.x = all_x; - rects->clip.y = all_y; - rects->dst.x = all_x; - rects->dst.y = all_y; - - rects->width = width; - rects->height = height; -} |