Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XRectInRegion(3X) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XCreateRegion(3X)

XIntersectRegion(3X)




XEmptyRegion(3X) XEmptyRegion(3X)
NAME XEmptyRegion, XEqualRegion, XPointINRegion, XRectInRegion - determine if regions are empty or equal SYNOPSIS int XEmptyRegion (r) Region r; int XEqualRegion (r1,r2) Region r1,r2; Bool XPointInRegion(r, x, y) Region r; int x, y; int XRectInRegion(r, x, y, width, height) Region r; int x, y; unsigned int width, height; DESCRIPTION The XEmptyRegion function returns nonzero if the specified region is empty. The XEqualRegion function returns nonzero if two regions have the same offset, size, and shape. Arguments These functions accept the following arguments: r Specifies the region. r1, r2 Specify the two regions. width, height Specify the width and height, which define the rec- tangle. x, y Specify the x and y coordinates, which define the point or the coordinates of the upper-left corner of the rectangle. The XRectInRegion function returns 1 if the rectangle is en- tirely in the specified region, 0 if the rectangle is en- tirely out of the specified region, and 2 if the rectangle is partially in the specified region. SEE ALSO XCreateRegion(3X), XIntersectRegion(3X)
Xlib - C Language Interface
November, 1990 1

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