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 determine whether a region is empty, use the EmptyRgn function.

FUNCTION EmptyRgn (rgn:\xDDRgnHandle):\xDDBoolean;
A handle to the region to test for emptiness.
The EmptyRgn function returns TRUE if the region whose handle you pass in the rgn parameter is an empty region or FALSE if it is not.

The EmptyRgn function does not create an empty region. To create an empty region, you can perform any of the following operations:

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996