Sets 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_set_vector(
HIG_VECT_GRADIENT hGradient,
IGVectPoint3D ptIn,
IGVectPoint3D ptOut,
VECT_REAL fRadius,
AT_BOOL bAbsolute
);
|
|
| Name | Type | Description |
|---|---|---|
| hGradient | HIG_VECT_GRADIENT | Handle to a gradient object. |
| ptIn | IGVectPoint3D | Coordinates of the center of the inner circle. |
| ptOut | IGVectPoint3D | Coordinates of the center of the outer circle. |
| fRadius | VECT_REAL | Radius of the outer circle. |
| bAbsolute | AT_BOOL | Specifies whether circle coordinates and radius 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