Important: The information in this document is obsolete and should not be used for new development.
FillCRoundRect
Use theFillCRoundRectprocedure to fill a rounded rectangle with a pixel pattern.
PROCEDURE FillCRoundRect (r: Rect; ovalWidth,ovalHeight: Integer; ppat: PixPatHandle);
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.ppat- A handle to the
PixPatrecord for the pixel pattern to be used for the fill.DESCRIPTION
Using thepatCopypattern mode, theFillCRoundRectprocedure fills the rectangle you specify in therparameter with the pixel pattern defined in aPixPatrecord, the handle for which you pass in theppatparameter. Use theovalWidthandovalHeightparameters to specify the diameters of curvature for the corners. This procedure ignores thepnPat,pnMode, andbkPatfields of the current graphics port and leaves the pen location unchanged.SPECIAL CONSIDERATIONS
TheFillCRoundRectprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.