ImageGear for C and C++ on Windows v20.1 - Updated
IG_vect_geom_init
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Geometry Functions > IG_vect_geom_init

The function initializes the geometry entity.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_geom_init(
        HIG_VECT_ENTITY hEntity, 
        enumIGVectGeometryType nType, 
        long nPointCount, 
        long nColorAlign, 
        VECT_BOOL bUseNormals, 
        VECT_BOOL bUseColors
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Geometry entity handle.
nType enumIGVectGeometryType Type of the geometry.
nPointCount long Geometry point count.
nColorAlign long Color alignment.
bUseNormals VECT_BOOL Normals usage flag.
bUseColors VECT_BOOL Local colors usage flag.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Is this page helpful?
Yes No
Thanks for your feedback.