Important: The information in this document is obsolete and should not be used for new development.
EraseRectTo erase a rectangle, use the
PROCEDURE EraseRect (r:\xDDRect);
- The rectangle to erase.
patCopypattern mode, the
EraseRectprocedure draws the interior of the rectangle that you specify in the
rparameter with the background pattern for the current graphics port. This effectively erases the rectangle specified in the
rparameter. For example, you can use
EraseRectto erase the port rectangle for a window before redrawing into the window.
This procedure leaves the location of the graphics pen unchanged.
EraseRectprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.
SEE ALSOListing 6-2 on page 6-10 in the chapter "Offscreen Graphics Worlds" in this book illustrates how to use
EraseRectto initialize an offscreen pixel map. The
patCopypattern mode is described in "Boolean Transfer Modes With 1-Bit Pixels" beginning on page 3-7.