Package: gdk

Function gdk-rectangle-intersect

Lambda List

gdk-rectangle-intersect (rect1 rect2)

Arguments

rect1 -- a gdk-rectangle instance
rect2 -- a gdk-rectangle instance

Return Value

A gdk-rectangle instance with the intersection of rect1 and rect2, or nil.

Details

Calculates the intersection of two rectangles. If the rectangles do not intersect nil is returned.
 

See also

2021-12-13