Supported Browsers Home   
IsEqualRegion Previous   
NewRegion Next   
GA_regionFuncs Up   

NewRectRegion

Allocate a new complex region and initialises it to a specific rectangle.

Declaration

GA_region * NAPI GA_regionFuncs::NewRectRegion(
    N_int32 left,
    N_int32 top,
    N_int32 right,
    N_int32 bottom)

Prototype In

snap/graphics.h

Parameters

left

Left coordinate of the rectangle

top

Top coordinate of the rectangle

right

Right coordinate of the rectangle

bottom

Bottom coordinate of the rectangle

 

Return Value

New region generated, NULL if out of memory.

Description

Allocates a new complex region, and initialises it to the passed in rectangle coordinates when first created.

See Also

NewRegion, FreeRegion, UnionRegion, DiffRegion, SectRegion

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