6 references to FloatUtil
PresentationCore (6)
Core\CSharp\System\Windows\Media\Color.cs (5)
355
result = result &&
FloatUtil
.AreClose(scRgbColor.r, color.scRgbColor.r);
356
result = result &&
FloatUtil
.AreClose(scRgbColor.g, color.scRgbColor.g);
357
result = result &&
FloatUtil
.AreClose(scRgbColor.b, color.scRgbColor.b);
362
result = result &&
FloatUtil
.AreClose(nativeColorValue[i], color.nativeColorValue[i]);
365
return result &&
FloatUtil
.AreClose(scRgbColor.a, color.scRgbColor.a);
Core\CSharp\System\Windows\Media\ImageSource.cs (1)
115
if (dpif < 0.0F ||
FloatUtil
.IsCloseToDivideByZero(96.0F, dpif))