Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XShrinkRegi(3x) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XShrinkRegion − reduce or expand the size of a region. 

Synopsis

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

Arguments

rSpecifies the region. 

dx

dySpecify the amounts by which you want to shrink or expand the specified region.  Positive values shrink the region while negative values expand the region. 

Description

XShrinkRegion() changes the width and/or height of the specified region.  Positive values shrink the region; negative values expand the region.  It is legal to expand the region in one dimension at the same time as shrinking it in the other dimension.  The offset of the region is changed to keep the center of the resized region near its original position.  The exact amount of shrinkage for a given value for dx or dy is not specified by Xlib. 

Structures

Region is a pointer to an opaque structure type. 

See Also

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

Copyright O’Reilly & Assoc.  —  

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