diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-06-16 19:04:07 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-06-16 19:04:07 +0800 |
commit | d4a32e5a9867bc2dbd41ffa6e8eb3be44a70c00a (patch) | |
tree | b3646b030aca0b01e3717f07bc35e2789b97f00a /libart_lgpl/art_rect.c | |
parent | f06717f6ef100bd840c0cd470c6227e47201f907 (diff) | |
download | gsoc2013-evolution-d4a32e5a9867bc2dbd41ffa6e8eb3be44a70c00a.tar gsoc2013-evolution-d4a32e5a9867bc2dbd41ffa6e8eb3be44a70c00a.tar.gz gsoc2013-evolution-d4a32e5a9867bc2dbd41ffa6e8eb3be44a70c00a.tar.bz2 gsoc2013-evolution-d4a32e5a9867bc2dbd41ffa6e8eb3be44a70c00a.tar.lz gsoc2013-evolution-d4a32e5a9867bc2dbd41ffa6e8eb3be44a70c00a.tar.xz gsoc2013-evolution-d4a32e5a9867bc2dbd41ffa6e8eb3be44a70c00a.tar.zst gsoc2013-evolution-d4a32e5a9867bc2dbd41ffa6e8eb3be44a70c00a.zip |
Remove unused libart_lgpl API.
According to CallCatcher.
Diffstat (limited to 'libart_lgpl/art_rect.c')
-rw-r--r-- | libart_lgpl/art_rect.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/libart_lgpl/art_rect.c b/libart_lgpl/art_rect.c index c9dd5b3702..6d318a80eb 100644 --- a/libart_lgpl/art_rect.c +++ b/libart_lgpl/art_rect.c @@ -48,28 +48,6 @@ art_irect_copy (ArtIRect *dest, const ArtIRect *src) { } /** - * art_irect_union: Find union of two integer rectangles. - * @dest: Where the result is stored. - * @src1: A source rectangle. - * @src2: Another source rectangle. - * - * Finds the smallest rectangle that includes @src1 and @src2. - **/ -void -art_irect_union (ArtIRect *dest, const ArtIRect *src1, const ArtIRect *src2) { - if (art_irect_empty (src1)) { - art_irect_copy (dest, src2); - } else if (art_irect_empty (src2)) { - art_irect_copy (dest, src1); - } else { - dest->x0 = MIN (src1->x0, src2->x0); - dest->y0 = MIN (src1->y0, src2->y0); - dest->x1 = MAX (src1->x1, src2->x1); - dest->y1 = MAX (src1->y1, src2->y1); - } -} - -/** * art_irect_intersection: Find intersection of two integer rectangles. * @dest: Where the result is stored. * @src1: A source rectangle. @@ -141,22 +119,6 @@ art_drect_union (ArtDRect *dest, const ArtDRect *src1, const ArtDRect *src2) { } /** - * art_drect_intersection: Find intersection of two rectangles. - * @dest: Where the result is stored. - * @src1: A source rectangle. - * @src2: Another source rectangle. - * - * Finds the intersection of @src1 and @src2. - **/ -void -art_drect_intersect (ArtDRect *dest, const ArtDRect *src1, const ArtDRect *src2) { - dest->x0 = MAX (src1->x0, src2->x0); - dest->y0 = MAX (src1->y0, src2->y0); - dest->x1 = MIN (src1->x1, src2->x1); - dest->y1 = MIN (src1->y1, src2->y1); -} - -/** * art_irect_empty: Determine whether rectangle is empty. * @src: The source rectangle. * |