Exemple #1
0
 public WCFRectangle(int x, int y, int width, int height)
 {
     this.location = new WCFPoint(x, y);
     this.size     = new WCFSize(width, height);
 }
Exemple #2
0
 public WCFPoint Offset(WCFPoint point)
 {
     return(this + point);
 }
Exemple #3
0
 public WCFRectangle(WCFPoint location, WCFSize size)
 {
     this.location = location;
     this.size     = size;
 }
 public static Point ToNET(WCFPoint p)
 {
     return(new Point(p.X, p.Y));
 }