GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 7f008773 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Inline docs.

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

	* gdk/gdkrectangle.c: Inline docs.
parent fcf514ba
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.
......
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.
......
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment