XPolygonRegion(3X) XPolygonRegion(3X)NAME XPolygonRegion, XClipBox - generate regions SYNOPSIS Region XPolygonRegion (points, n, fill-rule) XPoint points[]; int n; int fill-rule; XClipBox (r, rect-return) Region r; XRectangle *rect-return; DESCRIPTION The XPolygonRegion function returns a region defined by the points array. For an explanation of fill-rule, see XCreateGC(3X). The XClipBox function returns the smallest rectangle that encloses the specified region. Arguments These functions accept the following arguments: fill-rule Specifies the fill rule you want to set for the specified graphic context. You can pass one of the following constants: EvenOddRule or WindingRule. n Specifies the number of points in the polygon. points Specifies an array of points. r Specifies the region. rect-return Specifies the rectangle. SEE ALSO XCreateGC(3X), XDrawPoint(3X), XDrawRectangle(3X)Xlib - C Language InterfaceNovember, 1990 1