| Home
| Previous
| Next
| Up

NewRegion

Allocate a new complex region.

Declaration

GA_region * NAPI GA_regionFuncs::NewRegion(void)

Prototype In

snap/graphics.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 SNAP 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

NewRectRegion, FreeRegion, UnionRegion, DiffRegion, SectRegion

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