From ebd0e685ae2d76c3af96d748a33a7194c70749f3 Mon Sep 17 00:00:00 2001 From: Søren Sandmann Pedersen Date: Mon, 16 Feb 2009 05:41:31 -0500 Subject: [region] Consistently use rectangles in the API of regions Usually, rectangles are more useful than boxes, so regions should only expose rectangles in their public API. Specifically, _cairo_region_num_boxes becomes _cairo_region_num_rectangles _cairo_region_get_box becomes _cairo_region_get_rectangle Remove the cairo_box_int_t type --- src/cairo-surface-fallback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cairo-surface-fallback.c') diff --git a/src/cairo-surface-fallback.c b/src/cairo-surface-fallback.c index d41c645a..876268f5 100644 --- a/src/cairo-surface-fallback.c +++ b/src/cairo-surface-fallback.c @@ -417,7 +417,7 @@ _composite_trap_region (cairo_clip_t *clip, cairo_status_t status; cairo_solid_pattern_t solid_pattern; cairo_surface_pattern_t mask; - int num_rects = _cairo_region_num_boxes (trap_region); + int num_rects = _cairo_region_num_rectangles (trap_region); unsigned int clip_serial; cairo_surface_t *clip_surface = clip ? clip->surface : NULL; -- cgit v1.2.3