ImageGear for C and C++ on Windows v19.10 - Updated
IG_vect_gradient_radial_get_vector
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Gradient Functions > IG_vect_gradient_radial_get_vector

Gets parameters of the specified radial gradient: centers of inner and outer circles, outer radius, and the flag that specifies whether these values are relative or absolute.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_gradient_radial_get_vector(
        HIG_VECT_GRADIENT hGradient,
        IGVectPoint3D* lpPtIn, 
        IGVectPoint3D* lpPtOut,
        VECT_REAL* lpRadius,
        AT_BOOL* lpbAbsolute
);

Arguments:

Name Type Description
hGradient HIG_VECT_GRADIENT Handle to a gradient object.
lpPtIn IGVectPoint3D* Returns coordinates the center of the inner circle.
lpPtOut IGVectPoint3D* Returns coordinates the center of the outer circle.
lpRadius VECT_REAL* Returns the radius of the outer circle.
lpbAbsolute AT_BOOL* Returns the flag specifying whether the gradient vector is relative or absolute.

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