1XEmptyRegion(3)                 XLIB FUNCTIONS                 XEmptyRegion(3)
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       x
29       y         Specify  the  x  and y coordinates, which define the point or
30                 the coordinates of the upper-left corner of the rectangle.
31

DESCRIPTION

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

SEE ALSO

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