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