Exemple #1
0
 public DoublePoint(PointF P)
 {
     _X = P.X; _Y = P.Y;
 }
Exemple #2
0
 public DoublePoint(Size P)
 {
     _X = P.Width; _Y = P.Height;
 }
Exemple #3
0
 public DoublePoint(DblUnit value)
     : this(value,value)
 {
 }
Exemple #4
0
 public DoublePoint Translate(DblUnit offset, DblUnit zoom)
 {
     return (this+new DoublePoint(offset*zoom));
 }
Exemple #5
0
 public DoublePoint(DblUnit x, DblUnit y, UnitType type)
 {
     _X = new DblUnit(x,type); _Y = new DblUnit(y,type);
 }
Exemple #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;
 }
Exemple #7
0
 public void CopyPoint(DoublePoint inPoint)
 {
     X=inPoint.X; Y=inPoint.Y;
 }