FillRoundRect
FillRoundRect Fill a rounded-rectangle with specified pattern
#include <Quickdraw.h> Quickdraw
void FillRoundRect( theRect, ovalWidth, ovalHeight, thePat );
Rect *theRect ; rectangle defining position and size
short ovalWidth ; width and . . .
short ovalHeight ; height defining curvature of corners
PatPtr thePat ; address of an 8-byte Pattern structure
FillRoundRect fills all pixels in a rounded-corner rectangle. The transfer
mode is patCopy, overwriting all bits within the rounded-corner rectangular
area.
theRect is the address of an 8-byte Rect structure, in local coordinates.
ovalWidth and . . .
ovalHeight specify the curvature of the corners. Small values make sharper
corners; large values specify more "rounding". See
FrameRoundRect for examples.
thePat is the address of an 8-byte Pattern structure. It may be one of the
global patterns (black, white, gray, ltGray, or dkGray), or a pattern
read from a resource, or a pattern created by the application. See
PenPat for examples of obtaining and creating a pattern.
Returns: none

Notes: The pattern overwrites the interior of the elliptical area, including the
output of any previously- executed "frame" operation.
FillRoundRect doesn't change the pen position. The GrafPort's pen
pattern, pen mode, and background pattern are ignored.
As with all Quickdraw drawing, the output is clipped to the intersection of
the current GrafPort's bitMap boundary rectangle, the port rectangle,
clipping region, and visible region.