ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / Vector Component API Reference / Vector Component Functions Reference / Bezier Curve Functions / IG_vect_beziercurve_set_point
In This Topic
    IG_vect_beziercurve_set_point
    In This Topic

    This function sets new value to a control point of the specified Bezier curve.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI IG_vect_beziercurve_set_point(
       HIG_VECT_ENTITY hEntity,
       long nIndex,
       IGVectPoint3D* lpPoint
    );
    

    Arguments:

    Name Type Description
    hEntity HIG_VECT_ENTITY Handle to the entity of type IG_VECT_ENT_BEZIER_CURVE.
    nIndex long Index of the control point to be set.
    lpPoint IGVectPoint3D* Pointer to IGVectPoint3D structure, which contains new value of the control point.

    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