17 references to Tolerances
Microsoft.Maui (17)
VisualDiagnostics\AdornerModel.cs (17)
34 if (!Tolerances.AreClose(transformToRoot.M11, 1) || 35 !Tolerances.AreClose(transformToRoot.M22, 1) || 36 !Tolerances.AreClose(transformToRoot.M12, 0) || 37 !Tolerances.AreClose(transformToRoot.M21, 0)) 46 if (!Tolerances.NearZero(margin.Left)) 57 if (!Tolerances.NearZero(margin.Right)) 68 if (!Tolerances.NearZero(margin.Top)) 79 if (!Tolerances.NearZero(margin.Bottom)) 112 pixels = Tolerances.LessThan(pixels, floorPixels + 0.5) ? 151 if (Tolerances.AreClose(point1.X, point2.X) && Tolerances.AreClose(point1.Y, point2.Y)) 161 return Math.Abs(value) < Tolerances.ZeroThreshold; 170 double eps = (Math.Abs(value1) + Math.Abs(value2) + 10.0) * Tolerances.Epsilon; 179 return !Tolerances.AreClose(value1, value2); 188 return Tolerances.AreClose(value1, value2); 197 return !Tolerances.AreClose(value1, value2); 206 return Tolerances.AreClose(value1, value2);