FillOval
FillOval
Fill an oval with a specified pattern Rect *theRect ; rectangle defining oval's position and size PatPtr thePat ; address of an 8-byte Pattern structure FillOval fills all pixels in an oval with a specified pattern. The transfer mode is patCopy, overwriting all bits within the elliptical area.
theRect is the address of an 8-byte Rect structure, in local coordinates. 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.
Notes: The pattern overwrites the interior of the elliptical area, including the
output of any previously- executed "frame" operation.
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.