コード例 #1
0
 public DoublePoint(SizeF P)
 {
     _X = P.Width; _Y = P.Height;
 }
コード例 #2
0
 public DoublePoint(PointF P)
 {
     _X = P.X; _Y = P.Y;
 }
コード例 #3
0
 public DoublePoint(DblUnit value) : this(value, value)
 {
 }
コード例 #4
0
 public DoublePoint(DblUnit x, DblUnit y, UnitType type)
 {
     _X = new DblUnit(x, type); _Y = new DblUnit(y, type);
 }
コード例 #5
0
 public DoublePoint(double x, double y)
 {
     _X = x; _Y = y;
 }
コード例 #6
0
 public DoublePoint Translate(DblUnit offset, DblUnit zoom)
 {
     return(this + new DoublePoint(offset * zoom));
 }