6 references to GetLuminance
System.Windows.Forms (6)
System\Windows\Forms\Rendering\Button\PopupButtonColorMath.cs (5)
137
=>
GetLuminance
(color) > 0.5f
147
int gray = (int)MathF.Round(
GetLuminance
(color) * 255f);
162
float delta = MathF.Abs(
GetLuminance
(color) -
GetLuminance
(against));
171
return
GetLuminance
(against) > 0.5f
System\Windows\Forms\Rendering\Button\PopupButtonKeyCapRenderer.cs (1)
856
float luminance = PopupButtonColorMath.
GetLuminance
(back);