Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PntInRegion(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XPointInRegion — determine if a point is inside a region. 

SYNOPSIS

Bool XPointInRegion(r, x, y) Region r; int x, y;

ARGUMENTS

rSpecifies the region. 

x

ySpecify the x and y coordinates of the point relative to the region’s origin. 

RETURNS

True if the point is inside the region, else False. 

DESCRIPTION

XPointInRegion() returns True if the point x, y  is contained in the region r.  A point exactly on the boundary of the region is considered inside the region. 

Regions are located using an offset from a point (the region origin) which is common to all regions.  It is up to the application to interpret the location of the region relative to a drawable. 

For more information on regions, see Volume One, Chapter 6, Drawing Graphics and Text. 

STRUCTURES

Region is a pointer to an opaque structure type. 

SEE ALSO

XClipBox(), XCreateRegion(), XDestroyRegion(), XEmptyRegion(), XEqualRegion(), XIntersectRegion(), XOffsetRegion(), XPolygonRegion(), XRectInRegion(), XSetRegion(), XShrinkRegion(), XSubtractRegion(), XUnionRectWithRegion(), XUnionRegion(), XXorRegion(). 

Xlib Reference Manual

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