Commit e1f11211 authored by Björn Lindqvist's avatar Björn Lindqvist Committed by Björn Lindqvist

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
parent 8c428777
......@@ -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.
*/
......
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