ImageGear for C and C++ on Windows v20.0 - Updated
IG_vect_gradient_get_stopoffset
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Gradient Functions > IG_vect_gradient_get_stopoffset

Gets the offset of the specified stop.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_gradient_get_stopoffset(
        HIG_VECT_GRADIENT hGradient,
        LONG nStopIndex,
        VECT_REAL* lpfStopOffset
);

Arguments:

Name Type Description
hGradient HIG_VECT_GRADIENT Handle to a gradient object.
nStopIndex LONG Stop index.
lpfStopOffset VECT_REAL* Returns offset of the specified stop.

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.