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 / Customizing QuickDraw Operations


StdArc

The StdArc procedure is QuickDraw's standard low-level routine for drawing an arc or a wedge.

PROCEDURE StdArc (verb:\xDDGrafVerb; r:\xDDRect; 
                  startAngle,arcAngle:\xDDInteger);
verb
One of the following actions to perform, as defined for the GrafVerb data type:
           GrafVerb = (frame, paint, erase, invert, fill);
r
The rectangle to contain the arc.
startAngle

The beginning angle.
arcAngle
The ending angle.
DESCRIPTION
Using the action specified in the verb parameter, the StdArc procedure draws an arc or wedge of the oval that fits inside the rectangle specified in the r parameter. The arc or wedge is bounded by the radii specified in the startAngle and arcAngle parameters. (The startAngle and arcAngle parameters are illustrated in Figure 3-20 on page 3-68.)

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


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996