Supported Browsers Home   
MGL_moveToCoord Previous   
MGL_offsetRect Next   
External Functions Up   

MGL_newRegion

Allocate a new complex region.

Declaration

region_t * MGLAPI MGL_newRegion(void)

Prototype In

mgraph.h

Return Value

Pointer to the new region, NULL if out of memory.

Description

Allocates a new complex region. The new region is empty when first created. Note that MGL maintains a local memory pool for all region allocations in order to provide the maximum speed and minimum memory overheads for region allocations.

See Also

MGL_freeRegion, MGL_unionRegion, MGL_diffRegion, MGL_sectRegion

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