Important: The information in this document is obsolete and should not be used for new development.
EraseRgn
To erase a region, use theEraseRgnprocedure.
PROCEDURE EraseRgn (rgn: RgnHandle);
rgn- The region to erase.
DESCRIPTION
Using thepatCopypattern mode, theEraseRgnprocedure draws the interior of the region whose handle you pass in thergnparameter with the background pattern for the current graphics port.This procedure leaves the location of the graphics pen unchanged.
SPECIAL CONSIDERATIONS
TheEraseRgnprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.SEE ALSO
ThepatCopypattern mode is described in "Boolean Transfer Modes With 1-Bit Pixels" beginning on page 3-7.