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


StdRRect

The StdRRect procedure is QuickDraw's standard low-level routine for drawing a rounded rectangle.

PROCEDURE StdRRect (verb:\xDDGrafVerb; r:\xDDRect; 
                    ovalwidth,ovalHeight:\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 draw.
ovalwidth
The width diameter for the corner oval.
ovalHeight

The height diameter for the corner oval.
DESCRIPTION
The StdRRect procedure draws the rounded rectangle specified in the r parameter according to the action specified in the verb parameter. The ovalWidth and ovalHeight parameters specify the diameters of curvature for the corners.

SPECIAL CONSIDERATIONS
The StdRRect 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