Inline docs.

2005-12-24  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkrectangle.c: Inline docs.
This commit is contained in:
Matthias Clasen 2005-12-24 07:00:47 +00:00 committed by Matthias Clasen
parent fcf514baec
commit 7f00877312
3 changed files with 28 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-12-24 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkrectangle.c: Inline docs.
Thu Dec 22 18:53:14 2005 Tim Janik <timj@gtk.org>
* gtk/gtkobject.[hc]: renamed GUnowned to GInitiallyUnowned.

View File

@ -1,3 +1,7 @@
2005-12-24 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkrectangle.c: Inline docs.
Thu Dec 22 18:53:14 2005 Tim Janik <timj@gtk.org>
* gtk/gtkobject.[hc]: renamed GUnowned to GInitiallyUnowned.

View File

@ -28,6 +28,16 @@
#include <gdk/gdk.h>
#include "gdkalias.h"
/**
* gdk_rectangle_union:
* @src1: a #GdkRectangle
* @src2: a #GdkRectangle
* @dest: return location for the union of @src1 and @src2
*
* Calculates the union of two rectangles.
* The union of rectangles @src1 and @src2 is the smallest rectangle which
* includes both @src1 and @src2 within it.
*/
void
gdk_rectangle_union (GdkRectangle *src1,
GdkRectangle *src2,
@ -47,6 +57,16 @@ gdk_rectangle_union (GdkRectangle *src1,
dest->y = dest_y;
}
/**
* gdk_rectangle_intersect:
* @src1: a #GdkRectangle
* @src2: a #GdkRectangle
* @dest: return location for the intersection of @src1 and @src2
*
* Calculates the intersection of two rectangles.
*
* Returns: %TRUE if the rectangles intersect.
*/
gboolean
gdk_rectangle_intersect (GdkRectangle *src1,
GdkRectangle *src2,