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.
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 ); |
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. |
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None