예제 #1
0
 public DoublePoint(PointF P)
 {
     _X = P.X; _Y = P.Y;
 }
예제 #2
0
 public DoublePoint(Size P)
 {
     _X = P.Width; _Y = P.Height;
 }
예제 #3
0
 public DoublePoint(DblUnit value)
     : this(value,value)
 {
 }
예제 #4
0
 public DoublePoint Translate(DblUnit offset, DblUnit zoom)
 {
     return (this+new DoublePoint(offset*zoom));
 }
예제 #5
0
 public DoublePoint(DblUnit x, DblUnit y, UnitType type)
 {
     _X = new DblUnit(x,type); _Y = new DblUnit(y,type);
 }
예제 #6
0
 /// <summary>Flattens the calling point</summary>
 public void Flatten(bool roundUp)
 {
     DoublePoint f = Flat(roundUp); this.X = f.X; this.Y = f.Y; f = null;
 }
예제 #7
0
 public void CopyPoint(DoublePoint inPoint)
 {
     X=inPoint.X; Y=inPoint.Y;
 }