Exemplo n.º 1
0
 public static Size Add(Size l, Size r)
 {
   return new Size(l._w + r._w, l._h + r._h);
 }
Exemplo n.º 2
0
 public Rect(double x, double y, double w, double h)
 {
   _location = new Point(x, y);
   _size = new Size(w, h);
 }
Exemplo n.º 3
0
 // not implemented before either, but probably should?
 public Size Measure(Size availableSize)
 {
   return Size.Empty;
 }
Exemplo n.º 4
0
 public Rect(Point location, Size size) : this(location.X, location.Y, size.Width, size.Height) {}