Commit 51f05a00 authored by Matthias Clasen's avatar Matthias Clasen

Clarify docs for gdk_rectangle_union

This function does not ignore empty rectangles. Since this
is a fairly subtle point about the behavior, it is worth
spelling this out in the documentation. We've had a bug
open about this for a long time:
parent 4f6ea16c
......@@ -58,6 +58,9 @@
* The union of rectangles @src1 and @src2 is the smallest rectangle which
* includes both @src1 and @src2 within it.
* It is allowed for @dest to be the same as either @src1 or @src2.
* Note that this function does not ignore 'empty' rectangles (ie. with
* zero width or height).
gdk_rectangle_union (const GdkRectangle *src1,
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