Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Imaging With QuickDraw /
Chapter 3 - QuickDraw Drawing / QuickDraw Drawing Reference
Routines / Drawing Ovals


PaintOval

To paint an oval with the graphics pen's pattern and pattern mode, use the PaintOval procedure.

PROCEDURE PaintOval (r:\xDDRect);
r
The rectangle that defines the oval's boundary.
DESCRIPTION
Using the pen pattern and pattern mode for the current graphics port, the PaintOval procedure draws the interior of an oval just inside the bounding rectangle that you specify in the r parameter. The pen location does not change.

SPECIAL CONSIDERATIONS
The PaintOval 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 the FillOval procedure, described next, to draw the interior of an oval with a pen pattern different from that for the current graphics port.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996