Important: The information in this document is obsolete and should not be used for new development.
EraseRoundRect
To erase a rounded rectangle, use theEraseRoundRect
procedure.
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 thepatCopy
pattern mode, theEraseRoundRect
procedure draws the interior of the rounded rectangle bounded by the rectangle that you specify in ther
parameter with the background pattern of the current graphics port. This effectively erases the rounded rectangle. Use theovalWidth
andovalHeight
parameters 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
TheEraseRoundRect
procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.SEE ALSO
ThepatCopy
pattern mode is described in "Boolean Transfer Modes With 1-Bit Pixels" beginning on page 3-7.