Important: The information in this document is obsolete and should not be used for new development.
InsetRgnTo shrink or expand a region, use the
PROCEDURE InsetRgn (rgn:\xDDRgnHandle; dh,dv:\xDDInteger);
- A handle to the region to alter.
- The horizontal distance to move points on the left and right boundaries in toward or outward from the center.
- The vertical distance to move points on the top and bottom boundaries in toward or outward from the center.
InsetRgnprocedure moves all points on the region boundary of the region whose handle you pass in the
rgnparameter inward by the vertical distance that you specify in the
dvparameter and by the horizontal distance that you specify in the
dhparameter. If you specify negative values for
InsetRgnprocedure moves the points outward in that direction.
InsetRgnprocedure leaves the region's center at the same position, but moves the outline in (for positive values of
dv) or out (for negative values of
InsetRgnon a rectangular region has the same effect as using the
InsetRgnprocedure temporarily uses heap space that's twice the size of the original region.
InsetRgnprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.