13 references to Round
Microsoft.Maui.Graphics (6)
PointF.cs (2)
79 return new PointF(MathF.Round(X), MathF.Round(Y));
RectF.cs (4)
210 return new RectF(MathF.Round(X), MathF.Round(Y), MathF.Round(Width), MathF.Round(Height));
Microsoft.Maui.Graphics.Skia (2)
SkiaImage.cs (2)
149 canvas.DrawImage(this, dirtyRect.Left, dirtyRect.Top, MathF.Round(dirtyRect.Width), MathF.Round(dirtyRect.Height));
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1327public static Half Round(Half x) => (Half)MathF.Round((float)x);
src\libraries\System.Private.CoreLib\src\System\MathF.cs (2)
170float roundedResult = Round(divisionResult); 412return Round(x);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (1)
1462return (T)(object)MathF.Round((float)(object)value);
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
678public static float Round(float x) => MathF.Round(x);