Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XOffsetRegion — change offset of a region. 

SYNOPSIS

XOffsetRegion(r, dx, dy) Region r; int dx, dy;

ARGUMENTS

rSpecifies the region. 

dx

dySpecify the amount to move the specified region relative to the origin of all regions. 

DESCRIPTION

XOffsetRegion() changes the offset of the region the specified amounts in the x and y directions. 

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.  If the region is to be used as a clip_mask by calling XSetRegion(), the upper-left corner of the region relative to the drawable used in the graphics request will be at (xoffset + clip_x_origin, yoffset + clip_y_origin), where xoffset and yoffset are the offset of the region and clip_x_origin and clip_y_origin are components of the GC used in the graphics request. 

STRUCTURES

Region is a pointer to an opaque structure type. 

SEE ALSO

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

Xlib Reference Manual

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