Important: The information in this document is obsolete and should not be used for new development.
PaintRoundRect
To paint a rounded rectangle with the graphics pen's pattern and pattern mode, use thePaintRoundRectprocedure.
PROCEDURE PaintRoundRect (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 the pattern and pattern mode of the graphics pen for the current graphics port, thePaintRoundRectprocedure draws the interior of the rounded rectangle bounded by the rectangle that you specify in therparameter. Use theovalWidthandovalHeightparameters to specify the diameters of curvature for the corners of the rounded rectangle.The pen location does not change.
SPECIAL CONSIDERATIONS
ThePaintRoundRectprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.SEE ALSO
You can use theFillRoundRectprocedure, described next, to draw the interior of a rounded rectangle with a pen pattern different from that for the current graphics port.