public static Point Subtract(Point pt, Size sz) { return new Point(pt.X - sz.Width, pt.Y - sz.Height); }
public Point(Size sz) { this.x = sz.Width; this.y = sz.Height; }
public static Point Add(Point pt, Size sz) { return new Point(pt.X + sz.Width, pt.Y + sz.Height); }
public static Size Subtract(Size sz1, Size sz2) { return new Size(sz1.Width - sz2.Width, sz1.Height - sz2.Height); }
public static Size Add(Size sz1, Size sz2) { return new Size(sz1.Width + sz2.Width, sz1.Height + sz2.Height); }
public static PointF Add(PointF pt, Size sz) { return new PointF(pt.X + (float)sz.Width, pt.Y + (float)sz.Height); }
public static PointF Subtract(PointF pt, Size sz) { return new PointF(pt.X - (float)sz.Width, pt.Y - (float)sz.Height); }