Example #1
0
        public RectangleD(PointD location, SizeD size)
        {
            Left   = 0;
            Right  = 0;
            Top    = 0;
            Bottom = 0;

            X      = location.X;
            Y      = location.Y;
            Width  = size.Width;
            Height = size.Height;
        }
Example #2
0
 public PointD(SizeD size)
 {
     X = size.Width;
     Y = size.Height;
 }
Example #3
0
 public static SizeD Add(SizeD sz1, SizeD sz2)
 {
     sz1 += sz2;
     return(sz1);
 }
Example #4
0
 public static SizeD Subtract(SizeD sz1, SizeD sz2)
 {
     sz1 -= sz2;
     return(sz1);
 }
Example #5
0
 public SizeD(SizeD size)
 {
     Width  = size.Width;
     Height = size.Height;
 }