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


EqualRgn

To determine whether two regions have identical sizes, shapes, and locations, use the EqualRgn function.

FUNCTION EqualRgn (rgnA,rgnB: RgnHandle):\xDDBoolean;
srcRgnA
A handle to the first of two regions to compare.
srcRgnB
A handle to the second of two regions to compare.
DESCRIPTION
The EqualRgn function compares the two regions whose handles you pass in the rgnA and rgnB parameters and returns TRUE if they're equal or FALSE if they're not.

The two regions must have identical sizes, shapes, and locations to be considered equal. Any two empty regions are always equal.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996