1XEmptyRegion(3X11)              XLIB FUNCTIONS              XEmptyRegion(3X11)
2
3
4

NAME

6       XEmptyRegion, XEqualRegion, XPointInRegion, XRectInRegion - determine
7       if regions are empty or equal
8

SYNTAX

10       Bool XEmptyRegion(Region r);
11
12       Bool XEqualRegion(Region r1, Region r2);
13
14       Bool XPointInRegion(Region r, int x, int y);
15
16       int XRectInRegion(Region r, int x, int y, unsigned int width, unsigned
17              int height);
18

ARGUMENTS

20       r         Specifies the region.
21
22       r1
23       r2        Specify the two regions.
24
25       width
26       height    Specify the width and height, which define the rectangle.
27
28
29       x
30       y         Specify the x and y coordinates, which define the point or
31                 the coordinates of the upper-left corner of the rectangle.
32

DESCRIPTION

34       The XEmptyRegion function returns True if the region is empty.
35
36       The XEqualRegion function returns True if the two regions have the same
37       offset, size, and shape.
38
39       The XPointInRegion function returns True if the point (x, y) is con‐
40       tained in the region r.
41
42       The XRectInRegion function returns RectangleIn if the rectangle is
43       entirely in the specified region, RectangleOut if the rectangle is
44       entirely out of the specified region, and RectanglePart if the rectan‐
45       gle is partially in the specified region.
46

SEE ALSO

48       XCreateRegion(3X11), XIntersectRegion(3X11)
49       Xlib - C Language X Interface
50
51
52
53X Version 11                     libX11 1.0.3               XEmptyRegion(3X11)
Impressum