Widget.intersect

Computes the intersection of a widget's area and area, storing the intersection in intersection, and returns TRUE if there was an intersection. intersection may be NULL if you're only interested in whether there was an intersection.

class Widget
int
intersect

Parameters

area Rectangle

a rectangle

intersection Rectangle

rectangle to store intersection of widget and area

Return Value

Type: int

TRUE if there was an intersection

Meta