Exemple #1
0
 public static Size Round(SizeF size) => new Size(unchecked ((int)MathF.Round(size.Width)), unchecked ((int)MathF.Round(size.Height)));
Exemple #2
0
 public static Size Ceiling(SizeF size) => new Size(unchecked ((int)MathF.Ceiling(size.Width)), unchecked ((int)MathF.Ceiling(size.Height)));