Important: The information in this document is obsolete and should not be used for new development.
PaintRoundRectTo paint a rounded rectangle with the graphics pen's pattern and pattern mode, use the
PROCEDURE PaintRoundRect (r:\xDDRect; ovalWidth,ovalHeight: Integer);
- The rectangle that defines the rounded rectangle's boundaries.
- The width of the oval defining the rounded corner.
The height of the oval defining the rounded corner.
DESCRIPTIONUsing the pattern and pattern mode of the graphics pen for the current graphics port, the
PaintRoundRectprocedure draws the interior of the rounded rectangle bounded by the rectangle that you specify in the
rparameter. Use the
ovalHeightparameters to specify the diameters of curvature for the corners of the rounded rectangle.
The pen location does not change.
PaintRoundRectprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.
SEE ALSOYou can use the
FillRoundRectprocedure, described next, to draw the interior of a rounded rectangle with a pen pattern different from that for the current graphics port.