Esempio n. 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;
        }
Esempio n. 2
0
 public PointD(SizeD size)
 {
     X = size.Width;
     Y = size.Height;
 }
Esempio n. 3
0
 public static SizeD Add(SizeD sz1, SizeD sz2)
 {
     sz1 += sz2;
     return(sz1);
 }
Esempio n. 4
0
 public static SizeD Subtract(SizeD sz1, SizeD sz2)
 {
     sz1 -= sz2;
     return(sz1);
 }
Esempio n. 5
0
 public SizeD(SizeD size)
 {
     Width  = size.Width;
     Height = size.Height;
 }