Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XPolyReg(3X) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XPolygonRegion(3X)  —  X Version 11

NAME

XPolygonRegion, XClipBox − generate regions

SYNTAX

Region XPolygonRegion(points, n, fill_rule)
      XPoint points[];
      int n;
      int fill_rule;

XClipBox(r, rect)
      Region r;
      XRectangle ∗rect;

ARGUMENTS

fill_ruleSpecifies the fill rule you want to set for the specified graphics context.  You can pass one of these constants: EvenOddRule or WindingRule.

nSpecifies the number of points in the polygon. 

pointsSpecifies an array of points. 

rSpecifies the region. 

rectSpecifies the rectangle. 

DESCRIPTION

The XPolygonRegion function returns a region defined by the points array.

The XClipBox function generates the smallest enclosing rectangle in the specified rectangle that is located in the specified region.

SEE ALSO

Xlib − C Language X Interface

1 March 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026