ImageGear for C and C++ on Windows v20.5 - Updated
IG_vect_beziersurface_set_mstepcount
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Bezier Surface Functions > IG_vect_beziersurface_set_mstepcount

This function sets the count of interpolation steps in M direction for the specified Bezier surface.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_beziersurface_set_mstepcount(
   HIG_VECT_ENTITY hEntity,
   long nStep
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the entity of type IG_VECT_ENT_BEZIER_SURFACE.
nStep long Count of interpolation steps in M direction.

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:

M and N directions can be interpreted as columns and rows in the surface's mesh.

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

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