diff options
author | Søren Sandmann Pedersen <sandmann@redhat.com> | 2009-02-21 08:13:25 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@daimi.au.dk> | 2009-03-28 18:02:57 -0400 |
commit | 4b3245481cfbf96388c140421a071fd1f79ad601 (patch) | |
tree | 1aca416d504c63d1d739d4873537b0ed39471d1e /src/cairo-analysis-surface.c | |
parent | bf6d9bc1758ac1971485b6565d29934d6b06bef2 (diff) |
[region] Expand rect to rectangle in a couple of names
Specifically,
cairo_region_union_rect -> cairo_region_union_rectangle
cairo_region_create_rect -> cairo_region_create_rectangle
Also delete cairo_region_clear() which is not that useful.
Diffstat (limited to 'src/cairo-analysis-surface.c')
-rw-r--r-- | src/cairo-analysis-surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-analysis-surface.c b/src/cairo-analysis-surface.c index feaa9d30..cd799852 100644 --- a/src/cairo-analysis-surface.c +++ b/src/cairo-analysis-surface.c @@ -234,7 +234,7 @@ _add_operation (cairo_analysis_surface_t *surface, * this region will be emitted as native operations. */ surface->has_supported = TRUE; - status = cairo_region_union_rect (surface->supported_region, rect); + status = cairo_region_union_rectangle (surface->supported_region, rect); return status; } @@ -243,7 +243,7 @@ _add_operation (cairo_analysis_surface_t *surface, * emitted. */ surface->has_unsupported = TRUE; - status = cairo_region_union_rect (surface->fallback_region, rect); + status = cairo_region_union_rectangle (surface->fallback_region, rect); /* The status CAIRO_INT_STATUS_IMAGE_FALLBACK is used to indicate * unsupported operations to the meta surface as using |