Important: The information in this document is obsolete and should not be used for new development.
FillCRoundRect
Use theFillCRoundRect
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 thepatCopy
pattern mode, theFillCRoundRect
procedure fills the rectangle you specify in ther
parameter with the pixel pattern defined in aPixPat
record, the handle for which you pass in theppat
parameter. Use theovalWidth
andovalHeight
parameters to specify the diameters of curvature for the corners. This procedure ignores thepnPat
,pnMode
, andbkPat
fields of the current graphics port and leaves the pen location unchanged.SPECIAL CONSIDERATIONS
TheFillCRoundRect
procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.