summaryrefslogtreecommitdiff
path: root/src/cairo-region.c
diff options
context:
space:
mode:
authorRobert O'Callahan <rocallahan@novell.com>2006-05-04 03:43:34 -0700
committerCarl Worth <cworth@cworth.org>2006-05-04 03:43:34 -0700
commit7bcf957b4e2a986a94bbc29192f61b8c9c0067be (patch)
treea0d1bfca7af2ed39630c1b9784a706a85ea2b95a /src/cairo-region.c
parentd71ddec8dfcfd4a8eb39edc9f34f93dc1683a62d (diff)
Rename cairo_rectangle_t to cairo_rectangle_fixed_t.
This is in preparation for a later function addition for extracting clip rectangles from a cairo_t, (which will add a public cairo_rectangle_t).
Diffstat (limited to 'src/cairo-region.c')
-rw-r--r--src/cairo-region.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cairo-region.c b/src/cairo-region.c
index 369e2dc6..c8419c1d 100644
--- a/src/cairo-region.c
+++ b/src/cairo-region.c
@@ -37,7 +37,7 @@
/**
* _cairo_region_create_from_rectangle:
- * @rect: a #cairo_rectangle_t
+ * @rect: a #cairo_rectangle_fixed_t
*
* Creates a region with extents initialized from the given
* rectangle.
@@ -46,7 +46,7 @@
* memory couldn't a allocated.
**/
pixman_region16_t *
-_cairo_region_create_from_rectangle (cairo_rectangle_t *rect)
+_cairo_region_create_from_rectangle (cairo_rectangle_fixed_t *rect)
{
/* We can't use pixman_region_create_simple(), because it doesn't
* have an error return
@@ -67,11 +67,11 @@ _cairo_region_create_from_rectangle (cairo_rectangle_t *rect)
* @region: a #pixman_region16_t
* @rect: rectangle into which to store the extents
*
- * Gets the bounding box of a region as a cairo_rectangle_t
+ * Gets the bounding box of a region as a cairo_rectangle_fixed_t
**/
void
-_cairo_region_extents_rectangle (pixman_region16_t *region,
- cairo_rectangle_t *rect)
+_cairo_region_extents_rectangle (pixman_region16_t *region,
+ cairo_rectangle_fixed_t *rect)
{
pixman_box16_t *region_extents = pixman_region_extents (region);