예제 #1
0
 public static Point2 Subtract(Point2 pt, Size2 sz)
 {
     return(new Point2(pt.X - sz.Width, pt.Y - sz.Height));
 }
예제 #2
0
 public static Point2 Add(Point2 pt, Size2 sz)
 {
     return(new Point2(pt.X + sz.Width, pt.Y + sz.Height));
 }