XEqualRegion() XEqualRegion()
Name
XEqualRegion - determine if two regions have the same size, offset, and shape.
Synopsis
Bool XEqualRegion(r1, r2)
Region r1, r2;
Arguments
r1
r2 Specify the two regions you want to compare.
Returns
True or False.
Description
XEqualRegion() returns True if the two regions are identical; i.e., they have the same offset, size and shape, or False otherwise.
Regions are located using an offset from a point (the region origin) which is common to all regions. It is up to the application to inter-
pret the location of the region relative to a drawable.
For more information, see Volume One, Chapter 6, Drawing Graphics and Text.
Structures
Region is a pointer to an opaque structure type.
See Also
XClipBox(), XCreateRegion(), XDestroyRegion(), XEmptyRegion(), XIntersectRegion(), XOffsetRegion(), XPointInRegion(), XPolygonRegion(),
XRectInRegion(), XSetRegion(), XShrinkRegion(), XSubtractRegion(), XUnionRectWithRegion(), XUnionRegion(), XXorRegion().
Xlib - Regions XEqualRegion()