Important: The information in this document is obsolete and should not be used for new development.
FillOval
To fill an oval with any available bit pattern, use theFillOval
procedure.
PROCEDURE FillOval (r:\xDDRect; pat: Pattern);
r
- The rectangle that defines the oval's boundaries.
pat
- The bit pattern to use for the fill. Figure 3-3 on page 3-6 illustrates the default fill patterns and the constants you can use to represent them.
DESCRIPTION
Using thepatCopy
pattern mode and the bit pattern defined in thePattern
record that you specify in thepat
parameter, theFillOval
procedure draws the interior of an oval just inside the bounding rectangle that you specify in ther
parameter. The pen location does not change.SPECIAL CONSIDERATIONS
TheFillOval
procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.SEE ALSO
You can use theGetPattern
andGetIndPattern
routines, described on page 3-122 and page 3-123, respecively, to get a pattern stored in a resource. ThepatCopy
pattern mode is described in "Boolean Transfer Modes With 1-Bit Pixels" beginning on page 3-7. ThePattern
record is described on page 3-36.You can use the
PaintOval
procedure, described in the previous section, to draw the interior of an oval with the pen pattern for the current graphics port. To fill an oval with a pixel pattern, use theFillCOval
procedure, which is described in the chapter "Color QuickDraw."