Supported Browsers Home   
MGL_disableDriver Previous   
MGL_divotSize Next   
External Functions Up   

MGL_disjointRect

Determines if two rectangles are disjoint.

Declaration

ibool MGL_disjointRect(
    rect_t r1,
    rect_t r2)

Prototype In

mgraph.h

Parameters

r1

First rectangle to test

r2

Second rectangle to test

 

Return Value

True if the rectangles are disjoint, false if they overlap.

Description

This function determines whether two rectangles are disjoint, which is true if the rectangles do not overlap at any coordinates.

See Also

MGL_emptyRect, MGL_equalRect, MGL_unionRect, MGL_sectRect

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