Add gimp_rectangle_union()

This commit is contained in:
Michael Natterer
2009-08-23 22:58:36 +02:00
parent e2ed81e310
commit c6bd3e0570
3 changed files with 62 additions and 1 deletions

View File

@ -37,6 +37,19 @@ gboolean gimp_rectangle_intersect (gint x1,
gint *dest_width,
gint *dest_height);
void gimp_rectangle_union (gint x1,
gint y1,
gint width1,
gint height1,
gint x2,
gint y2,
gint width2,
gint height2,
gint *dest_x,
gint *dest_y,
gint *dest_width,
gint *dest_height);
G_END_DECLS