ImageGear Professional DLL for Windows
IG_vect_light_set_cutoff

This function sets the new cutoff angle for the light source. 

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_light_set_cutoff(
        HIG_VECT_LIGHTSOURCE hLightSource, 
        float fCutoff
);

Arguments:

Name Type Description
hLightSource HIG_VECT_LIGHTSOURCE Light source handle.
fCutoff float New cutoff angle to be set. The cutoff angle range is 0..90 or 180. 180 means uniform light distribution. 

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

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback