ImageGear Professional DLL for Windows
IG_vect_gradient_radial_set_vector

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.

Declaration:

 
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
);

Arguments:

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.

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

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback