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(), XXorRegion().
Xlib Reference Manual