Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XCreReg(3X) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XEmptyRegion(3X)

XIntersectRegion(3X)

XCreateRegion(3X)  —  X Version 11

NAME

XCreateRegion, XSetRegion, XDestroyRegion − create and destroy regions

SYNTAX

Region XCreateRegion()

XSetRegion(display, gc, r)
      Display ∗display;
      GC gc;
      Region r;

XDestroyRegion(r)
      Region r;

ARGUMENTS

displaySpecifies the connection to the X server. 

gcSpecifies the graphics context. 

rSpecifies the region. 

DESCRIPTION

The XCreateRegion function creates a new empty region.

The XSetRegion function sets the clip mask in the graphics contexts to the specified region. Once is is set in the GC, the region can be destroyed.

The XDestroyRegion function deallocates the storage associated with a specified region.

SEE ALSO

XEmptyRegion(3X), XIntersectRegion(3X)
Xlib − C Language X Interface

1 March 1988

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