1XPolygonRegion(3)               XLIB FUNCTIONS               XPolygonRegion(3)
2
3
4

NAME

6       XPolygonRegion, XClipBox - generate regions
7

SYNTAX

9       Region XPolygonRegion(XPoint points[], int n, int fill_rule);
10
11       int XClipBox(Region r, XRectangle *rect_return);
12

ARGUMENTS

14       fill_rule Specifies the fill-rule you want to set for the specified GC.
15                 You can pass EvenOddRule or WindingRule.
16
17       n         Specifies the number of points in the polygon.
18
19       points    Specifies an array of points.
20
21       r         Specifies the region.
22
23       rect_return
24                 Returns the smallest enclosing rectangle.
25

DESCRIPTION

27       The XPolygonRegion function returns a region for the polygon defined by
28       the points array.  For an explanation of fill_rule, see XCreateGC.
29
30       The  XClipBox  function  returns  the  smallest rectangle enclosing the
31       specified region.
32

SEE ALSO

34       XCreateGC(3), XDrawPoint(3), XDrawRectangle(3)
35       Xlib - C Language X Interface
36
37
38
39X Version 11                     libX11 1.6.9                XPolygonRegion(3)
Impressum