ImageGear for C and C++ on Windows v20.1 - Updated
IG_vect_light_get_cutoff
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Light Functions > IG_vect_light_get_cutoff

This function returns the cut of angle of the light source.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_light_get_cutoff(
        HIG_VECT_LIGHTSOURCE hLightSource, 
        float* lpCutoff
);

Arguments:

Name Type Description
hLightSource HIG_VECT_LIGHTSOURCE Light source handle.
lpCutoff float* Buffer for the cut off angle. The range of cut off angle is 0..90 or 180 degrees. 180 degrees 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

Is this page helpful?
Yes No
Thanks for your feedback.