diff options
author | David Reveman <davidr@novell.com> | 2004-05-10 15:14:39 +0000 |
---|---|---|
committer | David Reveman <davidr@novell.com> | 2004-05-10 15:14:39 +0000 |
commit | 25b0a3d18350943b622ff2745f5d307c7e0b7a51 (patch) | |
tree | 8ecd55646464825fb4ac8e7f58944190db5c7706 /src/glitz_util.c | |
parent | 4828fcb4995de0ce6d36db046c260a212d2235a9 (diff) |
region_box -> bounding_box, sub_pixel_region_box -> bounding_box_double
Diffstat (limited to 'src/glitz_util.c')
-rw-r--r-- | src/glitz_util.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/glitz_util.c b/src/glitz_util.c index 73d584e..29ea433 100644 --- a/src/glitz_util.c +++ b/src/glitz_util.c @@ -35,9 +35,9 @@ #include <string.h> void -glitz_intersect_region (glitz_region_box_t *box1, - glitz_region_box_t *box2, - glitz_region_box_t *return_box) +glitz_intersect_bounding_box (glitz_bounding_box_t *box1, + glitz_bounding_box_t *box2, + glitz_bounding_box_t *return_box) { return_box->x1 = (box1->x1 >= box2->x1)? box1->x1: box2->x1; return_box->x2 = (box1->x2 <= box2->x2)? box1->x2: box2->x2; @@ -52,9 +52,9 @@ glitz_intersect_region (glitz_region_box_t *box1, } void -glitz_union_region (glitz_region_box_t *box1, - glitz_region_box_t *box2, - glitz_region_box_t *return_box) +glitz_union_bounding_box (glitz_bounding_box_t *box1, + glitz_bounding_box_t *box2, + glitz_bounding_box_t *return_box) { return_box->x1 = (box1->x1 <= box2->x1)? box1->x1: box2->x1; return_box->x2 = (box1->x2 >= box2->x2)? box1->x2: box2->x2; @@ -63,9 +63,9 @@ glitz_union_region (glitz_region_box_t *box1, } void -glitz_intersect_sub_pixel_region (glitz_sub_pixel_region_box_t *box1, - glitz_sub_pixel_region_box_t *box2, - glitz_sub_pixel_region_box_t *return_box) +glitz_intersect_bounding_box_double (glitz_bounding_box_double_t *box1, + glitz_bounding_box_double_t *box2, + glitz_bounding_box_double_t *return_box) { return_box->x1 = (box1->x1 >= box2->x1)? box1->x1: box2->x1; return_box->x2 = (box1->x2 <= box2->x2)? box1->x2: box2->x2; @@ -80,9 +80,9 @@ glitz_intersect_sub_pixel_region (glitz_sub_pixel_region_box_t *box1, } void -glitz_union_sub_pixel_region (glitz_sub_pixel_region_box_t *box1, - glitz_sub_pixel_region_box_t *box2, - glitz_sub_pixel_region_box_t *return_box) +glitz_union_bounding_box_double (glitz_bounding_box_double_t *box1, + glitz_bounding_box_double_t *box2, + glitz_bounding_box_double_t *return_box) { return_box->x1 = (box1->x1 <= box2->x1)? box1->x1: box2->x1; return_box->x2 = (box1->x2 >= box2->x2)? box1->x2: box2->x2; |