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 Rectangles


EmptyRect

To determine whether a rectangle is an empty rectangle, use the EmptyRect function.

FUNCTION EmptyRect (r: Rect): Boolean;
r
The rectangle to examine.
DESCRIPTION
The EmptyRect function returns TRUE if the rectangle that you specify in the r parameter is an empty rectangle, FALSE if it is not. A rectangle is considered empty if the bottom coordinate is less than or equal to the top coordinate or if the right coordinate is less than or equal to the left.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996