FillCRoundRect
Use the FillCRoundRect procedure 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
PixPat record for the pixel pattern to be used for the fill.
DESCRIPTION
Using the patCopy pattern mode, the FillCRoundRect procedure fills the rectangle you specify in the r parameter with the pixel pattern defined in a PixPat record, the handle for which you pass in the ppat parameter. Use the ovalWidth and ovalHeight parameters to specify the diameters of curvature for the corners. This procedure ignores the pnPat, pnMode, and bkPat fields of the current graphics port and leaves the pen location unchanged.
SPECIAL CONSIDERATIONS
The FillCRoundRect procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.