Beispiel #1
0
 public static Point Round(PointD value)
 {
     return(new Point((int)Math.Round(value.X), (int)Math.Round(value.Y)));
 }
Beispiel #2
0
 public static Point Truncate(PointD value)
 {
     return(new Point((int)value.X, (int)value.Y));
 }
Beispiel #3
0
 public static Point Ceiling(PointD value)
 {
     return(new Point((int)Math.Ceiling(value.X), (int)Math.Ceiling(value.Y)));
 }