1. NAME▲
XEmptyRegion, XEqualRegion, XPointInRegion, XRectInRegion - determine if regions are empty or equal
2. SYNTAX ▲
Bool XEmptyRegion(Region r); Bool XEqualRegion(Region r1, Region r2); Bool XPointInRegion(Region r, int x, int y); int XRectInRegion(Region r, int x, int y, unsigned int width, unsigned int height);
3. ARGUMENTS ▲
r 1i Specifies the region.
r1 1i
r2 1i Specify the two regions.
width 1i
height 1i Specify the width and height\*(Wh.
x 1i
y 1i Specify the x and y coordinates\*(Xy.
4. DESCRIPTION ▲
The .ZN XEmptyRegion function returns .ZN True if the region is empty.
The .ZN XEqualRegion function returns .ZN True if the two regions have the same offset, size, and shape.
The .ZN XPointInRegion function returns .ZN True if the point (x, y) is contained in the region r.
The .ZN XRectInRegion function returns .ZN RectangleIn if the rectangle is entirely in the specified region, .ZN RectangleOut if the rectangle is entirely out of the specified region, and .ZN RectanglePart if the rectangle is partially in the specified region.
5. SEE ALSO ▲
XCreateRegion(3), XIntersectRegion(3)
\*(xL