1XCreateRegion(3) XLIB FUNCTIONS XCreateRegion(3)
2
3
4
6 XCreateRegion, XSetRegion, XDestroyRegion - create or destroy regions
7
9 Region XCreateRegion(void);
10
11 int XSetRegion(Display *display, GC gc, Region r);
12
13 int XDestroyRegion(Region r);
14
16 display Specifies the connection to the X server.
17
18 gc Specifies the GC.
19
20 r Specifies the region.
21
23 The XCreateRegion function creates a new empty region.
24
25 The XSetRegion function sets the clip-mask in the GC to the specified
26 region. The region is specified relative to the drawable's origin.
27 The resulting GC clip origin is implementation-dependent. Once it is
28 set in the GC, the region can be destroyed.
29
30 The XDestroyRegion function deallocates the storage associated with a
31 specified region.
32
34 XEmptyRegion(3), XIntersectRegion(3)
35 Xlib - C Language X Interface
36
37
38
39X Version 11 libX11 1.7.0 XCreateRegion(3)