Lines Matching refs:hue
1051 float hue=pixel.x;
1063 float h=6.0f*(hue-floor(hue));
1976 float *hue, float *saturation, float *lightness)
1994 *hue=0.0;
2001 *hue=(QuantumScale*green-QuantumScale*blue)/c;
2003 *hue+=6.0;
2007 *hue=2.0+(QuantumScale*blue-QuantumScale*red)/c;
2009 *hue=4.0+(QuantumScale*red-QuantumScale*green)/c;
2011 *hue*=60.0/360.0;
2018 inline void ConvertHSLToRGB(const float hue,const float saturation, const float lightness,
2033 h=hue*360.0;
2102 hue,
2109 ConvertRGBToHSL(*red,*green,*blue,&hue,&saturation,&lightness);
2110 hue+=0.5*(0.01*percent_hue-1.0);
2111 while (hue < 0.0)
2112 hue+=1.0;
2113 while (hue >= 1.0)
2114 hue-=1.0;
2117 ConvertHSLToRGB(hue,saturation,lightness,red,green,blue);