mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
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:
parent
8c4287775b
commit
e1f1121149
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user