XLIB FUNCTIONS XPolygonRegion(3x11)
NAME
XPolygonRegion, XClipBox - generate regions
SYNTAXcc [ flag... ] file... -lX11 [ library... ]
Region XPolygonRegion(XPoint points[], int n, intfill_rule);
int XClipBox(Region r, XRectangle *rect_return);
ARGUMENTSfill_rule Specifies the fill-rule you want to set for the
specified GC. You can pass EvenOddRule or Win-
dingRule. n Specifies the number of points in the polygon. points Specifies an array of points. r Specifies the region.rect_return
Returns the smallest enclosing rectangle.DESCRIPTION
The XPolygonRegion function returns a region for the polygon defined by the points array. For an explanation offill_rule, see XCreateGC.
The XClipBox function returns the smallest rectangle enclos-
ing the specified region.SEE ALSO
XCreateGC(3x11), XDrawPoint(3x11), XDrawRectangle(3x11)Xlib - C Language X Interface
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libx11 ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libX11 1.3.5 1 XLIB FUNCTIONS XPolygonRegion(3x11) X Version 11 Last change: libX11 1.3.5 2