Function
AstalWlRectangleintersect
Declaration
gboolean
astal_wl_rectangle_intersect (
AstalWlRectangle* a,
AstalWlRectangle* b,
AstalWlRectangle* _result_
)
Description
Computes the intersection of two rectangles.
If no intersection exists, result is set to a zero rectangle and false is returned.
Parameters
a-
Type:
AstalWlRectangleNo description available.
The data is owned by the caller of the function. b-
Type:
AstalWlRectangleNo description available.
The data is owned by the caller of the function. _result_-
Type:
AstalWlRectangleNo description available.
The argument will be set by the function. The caller of the function takes ownership of the returned data, and is responsible for freeing it.