Note in docs that @dest's width and height is set to 0, 0 if the

2007-08-11  Björn Lindqvist  <bjourne@gmail.com>

	* gdk/gdkrectangle.c (gdk_rectangle_intersect): Note in docs
        that @dest's width and height is set to 0, 0 if the rectangles
        does not intersect. (#464524)

svn path=/trunk/; revision=18602
This commit is contained in:
Björn Lindqvist 2007-08-10 23:34:26 +00:00 committed by Björn Lindqvist
parent 8c4287775b
commit e1f1121149

View File

@ -64,8 +64,10 @@ gdk_rectangle_union (GdkRectangle *src1,
* @src2: a #GdkRectangle
* @dest: return location for the intersection of @src1 and @src2
*
* Calculates the intersection of two rectangles.
* It is allowed for @dest to be the same as either @src1 or @src2.
* Calculates the intersection of two rectangles. It is allowed for
* @dest to be the same as either @src1 or @src2. If the rectangles
* doesn't intersect, @dest's width and height is set to 0 and its x
* and y values are undefined.
*
* Returns: %TRUE if the rectangles intersect.
*/