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


To draw an outline inside an oval, use the FrameOval procedure.

PROCEDURE FrameOval (r:\xDDRect);
The rectangle that defines the oval's boundary.
Using the pattern, pattern mode, and size of the graphics pen for the current graphics port, the FrameOval procedure draws an outline just inside the oval with the bounding rectangle that you specify in the r parameter. The outline is as wide as the pen width and as tall as the pen height. The pen location does not change.

If a region is open and being formed, the outside outline of the new oval is mathematically added to the region's boundary.

The FrameOval procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.

Listing 3-6 on page 3-21 illustrates how to use this procedure.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996