Supported Browsers Home   
MGL_isOverlayDC Previous   
MGL_isStereoDC Next   
External Functions Up   

MGL_isSimpleRegion

Returns true if a region is a simple region, otherwise false.

Declaration

ibool MGL_isSimpleRegion(
    region_t r)

Prototype In

mgraph.h

Parameters

r

Region to test.

 

Description

This function determines if the region is simple or not. A simple region is one that consists of only a single rectangle. This function will not work properly if the region has been through a number of region algebra routines with other non-simple regions, even though the end result may be a single rectangle.

See Also

MGL_unionRegion, MGL_diffRegion, MGL_sectRegion

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