ImageGear for C and C++ on Windows v20.0 - Updated
IG_vect_beziercurve_get_stepcount
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Bezier Curve Functions > IG_vect_beziercurve_get_stepcount

This function retrieves the count of interpolation steps for rendering of the specified Bezier curve.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_beziercurve_get_stepcount(
   HIG_VECT_ENTITY hEntity,
   long* lpStepCount
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the entity of type IG_VECT_ENT_BEZIER_CURVE.
lpStepCount long* Pointer to a variable that will receive the count of interpolation steps.

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

Remarks:

The ImageGear Vector component uses 10 interpolation steps by default. A greater step count results in a smoother curve and slower rendering.

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