CopyRegion
Create a copy of the specified region.
Declaration
GA_region * NAPI GA_regionFuncs::CopyRegion(
const GA_region *s)
Prototype In
snap/graphics.h
Parameters
s |
Pointer to source region |
Return Value
Pointer to the copied region, or NULL if out of memory.
Description
Copies the definition for an entire region and returns a pointer to the newly created region. The space for the copied region is allocated from the region memory pool, which SNAP uses to maintain a local memory allocation scheme for regions to increase performance.
If there is not enough memory to copy the region, this routine will return NULL.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com