API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Gradient Functions > IG_vect_gradient_linear_get_vector |
Gets start and end points of the linear gradient and a flag specifying whether they are relative or absolute.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_gradient_linear_get_vector( HIG_VECT_GRADIENT hGradient, IGVectPoint3D* lpPt1, IGVectPoint3D* lpPt2, AT_BOOL* lpbAbsolute ); |
Name | Type | Description |
---|---|---|
hGradient | HIG_VECT_GRADIENT | Handle to a gradient object. |
lpPt1 | IGVectPoint3D* | Returns start point of the linear gradient. |
lpPt2 | IGVectPoint3D* | Returns end point of the linear gradient. |
lpbAbsolute | AT_BOOL* | Returns the flag specifying whether the start and end points are 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