1XIntersectRegion(3) XLIB FUNCTIONS XIntersectRegion(3)
2
3
4
6 XIntersectRegion, XUnionRegion, XUnionRectWithRegion, XSubtractRegion,
7 XXorRegion, XOffsetRegion, XShrinkRegion - region arithmetic
8
10 int XIntersectRegion(Region sra, Region srb, Region dr_return);
11
12 int XUnionRegion(Region sra, Region srb, Region dr_return);
13
14 int XUnionRectWithRegion(XRectangle *rectangle, Region src_region,
15 Region dest_region_return);
16
17 int XSubtractRegion(Region sra, Region srb, Region dr_return);
18
19 int XXorRegion(Region sra, Region srb, Region dr_return);
20
21 int XOffsetRegion(Region r, int dx, int dy);
22
23 int XShrinkRegion(Region r, int dx, int dy);
24
26 dest_region_return
27 Returns the destination region.
28
29 dr_return Returns the result of the computation.
30
31 dx
32 dy Specify the x and y coordinates, which define the amount you
33 want to move or shrink the specified region.
34
35 r Specifies the region.
36
37 rectangle Specifies the rectangle.
38
39 sra
40 srb Specify the two regions with which you want to perform the
41 computation.
42
43 src_region
44 Specifies the source region to be used.
45
47 The XIntersectRegion function computes the intersection of two regions.
48
49 The XUnionRegion function computes the union of two regions.
50
51 The XUnionRectWithRegion function updates the destination region from a
52 union of the specified rectangle and the specified source region.
53
54 The XSubtractRegion function subtracts srb from sra and stores the
55 results in dr_return.
56
57 The XXorRegion function calculates the difference between the union and
58 intersection of two regions.
59
60 The XOffsetRegion function moves the specified region by a specified
61 amount.
62
63 The XShrinkRegion function reduces the specified region by a specified
64 amount. Positive values shrink the size of the region, and negative
65 values expand the region.
66
68 XCreateRegion(3), XDrawRectangle(3), XEmptyRegion(3)
69 Xlib - C Language X Interface
70
71
72
73X Version 11 libX11 1.6.9 XIntersectRegion(3)