3 writes to saturation
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ControlPaint.cs (3)
2833
saturation
= 0; /* saturation */
2839
saturation
= (int) (((dif * (int) HLSMax) + (sum / 2) ) / sum);
2841
saturation
= (int) ((int) ((dif * (int) HLSMax) + (int)((2*RGBMax-sum)/2) )
5 references to saturation
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ControlPaint.cs (5)
2932
return ColorFromHLS(hue, zeroLum - (int)((zeroLum - oneLum) * percDarker),
saturation
);
2943
saturation
== c.
saturation
&&
2957
return hue << 6 |
saturation
<< 2 | luminosity;
3001
return ColorFromHLS(hue, zeroLum + (int)((oneLum - zeroLum) * percLighter),
saturation
);