GA_emptyRect

Determines if a rectangle is empty.

Declaration

ibool GA_emptyRect(
GA_rect r)

Prototype In

snap/graphics.h

Parameters

r | The rectangle to test

Return Value

True if the rectangle is empty, otherwise false.

Description

Determines if a rectangle is empty or not. A rectangle is defined as being empty if the right coordinate is less than or equal to the left coordinate, or if the bottom coordinate is less than or equal to the top coordinate.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com