ImageGear for C and C++ on Windows v19.1 - Updated
IG_vect_beziercurve_set_degree
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Bezier Curve Functions > IG_vect_beziercurve_set_degree

The function sets a degree of the Bezier interpolation.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_beziercurve_set_degree(
        HIG_VECT_ENTITY hEntity,
        long nDegree
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
nDegree long Bezier interpolation degree being set.

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