Important: The information in this document is obsolete and should not be used for new development.
EraseRoundRect
To erase a rounded rectangle, use theEraseRoundRectprocedure.
PROCEDURE EraseRoundRect (r:\xDDRect; ovalWidth,ovalHeight: Integer);
r- The rectangle that defines the rounded rectangle's boundaries.
ovalWidth- The width of the oval defining the rounded corner.
ovalHeight
The height of the oval defining the rounded corner.DESCRIPTION
Using thepatCopypattern mode, theEraseRoundRectprocedure draws the interior of the rounded rectangle bounded by the rectangle that you specify in therparameter with the background pattern of the current graphics port. This effectively erases the rounded rectangle. Use theovalWidthandovalHeightparameters to specify the diameters of curvature for the corners of the rounded rectangle.This procedure leaves the location of the graphics pen unchanged.
SPECIAL CONSIDERATIONS
TheEraseRoundRectprocedure 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.