Important: The information in this document is obsolete and should not be used for new development.
FrameRoundRect
To draw an outline inside a rounded rectangle, use theFrameRoundRect
procedure.
PROCEDURE FrameRoundRect (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, pattern mode, and size of the graphics pen for the current graphics port, theFrameRoundRect
procedure draws an outline just inside the rounded rectangle bounded by the rectangle that you specify in ther
parameter. The outline is as wide as the pen width and as tall as the pen height. The pen location does not change.Use the
ovalWidth
andovalHeight
parameters to specify the diameters of curvature for the corners of the rounded rectangle.If a region is open and being formed, the outside outline of the new rounded rectangle is mathematically added to the region's boundary.
SPECIAL CONSIDERATIONS
TheFrameRoundRect
procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.