26 references to Abs
Microsoft.Maui.Graphics (8)
Matrix3x2Extensions.cs (4)
144 var areaScale = MathF.Abs(determinant); 166 scale = MathF.Sqrt(MathF.Abs(det)); 167 scalex = value.M12 == 0 ? MathF.Abs(value.M11) : new Vector2(value.M11, value.M12).Length(); 168 scaley = value.M21 == 0 ? MathF.Abs(value.M22) : new Vector2(value.M21, value.M22).Length();
PathArcExtensions.cs (4)
36 rx = MathF.Abs(rx); 37 ry = MathF.Abs(ry); 109 if (MathF.Abs(arc) > 360) 116 float segs = MathF.Ceiling(MathF.Abs(arc) / 45);
Microsoft.Maui.Graphics.Skia (2)
SKGraphicsExtensions.cs (2)
71 return new RectF(target.Left, target.Top, MathF.Abs(target.Right - target.Left), MathF.Abs(target.Bottom - target.Top));
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (2)
src\Graphics\src\Graphics\Platforms\Windows\GraphicsExtensions.cs (2)
203 var absRotation = MathF.Abs(rotation); 331 var absRotation = MathF.Abs(rotation);
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\MathF.cs (13)
165float alternativeResult = (regularMod - (Abs(y) * Sign(x))); 167if (Abs(alternativeResult) == Abs(regularMod)) 172if (Abs(roundedResult) > Abs(divisionResult)) 182if (Abs(alternativeResult) < Abs(regularMod)) 260float ax = Abs(x); 261float ay = Abs(y); 292float ax = Abs(x); 293float ay = Abs(y); 361if (Abs(x) >= IntegerBoundary) 437if (Abs(x) < singleRoundLimit)
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1040public static float Abs(float value) => MathF.Abs(value);