16 references to SizeF
Microsoft.Maui (1)
Animations\AnimationLerpingExtensions.cs (1)
21
new
SizeF
(start.Width.Lerp(end.Width, progress), start.Height.Lerp(end.Height, progress));
Microsoft.Maui.Controls (1)
Compatibility\iOS\Extensions\UIViewExtensions.cs (1)
46
var s = self.SizeThatFits(new
SizeF
((float)widthConstraint, (float)heightConstraint));
Microsoft.Maui.Graphics (10)
CanvasDefaults.cs (1)
6
public static readonly SizeF DefaultShadowOffset = new
SizeF
(5, 5);
PointF.cs (2)
86
return new
SizeF
(pt.X, pt.Y);
96
return new
SizeF
(ptA.X - ptB.X, ptA.Y - ptB.Y);
RectF.cs (1)
159
get => new
SizeF
(Width, Height);
Size.cs (1)
106
public static implicit operator SizeF(Size s) => new
SizeF
((float)s.Width, (float)s.Height);
SizeF.cs (5)
48
return new
SizeF
(s1.Width + s2.Width, s1.Height + s2.Height);
53
return new
SizeF
(s1.Width - s2.Width, s1.Height - s2.Height);
58
return new
SizeF
(s1.Width * value, s1.Height * value);
63
return new
SizeF
(s1.Width / value, s1.Height / value);
88
return new
SizeF
(size.X, size.Y);
Microsoft.Maui.Graphics.Skia (3)
SKGraphicsExtensions.cs (1)
344
return new
SizeF
(target.Width, target.Height);
SkiaStringSizeService.cs (2)
19
return new
SizeF
(width, fontSize);
34
return new
SizeF
(width, fontSize);
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
src\Graphics\src\Graphics\Platforms\Windows\PlatformStringSizeService.cs (1)
54
return new
SizeF
((float)textLayout.DrawBounds.Width, (float)textLayout.DrawBounds.Height);