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 / Creating and Managing Regions


To set an existing region to be empty, use the SetEmptyRgn procedure.

PROCEDURE SetEmptyRgn (rgn:\xDDRgnHandle);
A handle to the region to be made empty.
The SetEmptyRgn procedure destroys the previous structure of the region whose handle you pass in the rgn parameter; it then sets the new structure to the empty region defined by the rectangle (0,0,0,0).

The SetEmptyRgn 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