XPointInRegion

Syntax

Bool XPointInRegion(r, x, y)
      Region r;
      int x, y;

Arguments

r Specifies the region.
x
y
Specify the x and y coordinates, which define the point.

The XPointInRegion() function returns True if the point (x, y) is contained in the region r.

See also

XCreateRegion(), XEqualRegion(), XEmptyRegion(), XIntersectRegion(), XRectInRegion(), "Locating a Point or a Rectangle in a Region".
Christophe Tronche, ch@tronche.com