Lines Matching full:lightness
1963 float *hue, float *saturation, float *lightness)
1978 *lightness=(tmax+tmin)/2.0;
1999 if (*lightness <= 0.5)
2000 *saturation=c/(2.0*(*lightness));
2002 *saturation=c/(2.0-2.0*(*lightness));
2005 inline void ConvertHSLToRGB(const float hue,const float saturation, const float lightness,
2021 if (lightness <= 0.5)
2022 c=2.0*lightness*saturation;
2024 c=(2.0-2.0*lightness)*saturation;
2025 tmin=lightness-0.5*c;
2090 lightness,
2094 Increase or decrease color lightness, saturation, or hue.
2096 ConvertRGBToHSL(*red,*green,*blue,&hue,&saturation,&lightness);
2103 lightness*=0.01*percent_lightness;
2104 ConvertHSLToRGB(hue,saturation,lightness,red,green,blue);