コード例 #1
0
 public RectangleDoubleUnit(UnitD num)
     : this(num,num,num,num)
 {
 }
コード例 #2
0
ファイル: UPointD.cs プロジェクト: tfwio/modest-smf-vstnet
 public UPointD(SizeF P)
 {
     _X = P.Width; _Y = P.Height;
 }
コード例 #3
0
 public RectangleDoubleUnit(UnitD x, UnitD y, UnitD width, UnitD height)
 {
     Location = new UPointD(x,y); Size = new UPointD(width,height);
 }
コード例 #4
0
ファイル: UPointD.cs プロジェクト: tfwio/modest-smf-vstnet
 public UPointD Translate(UnitD offset, UnitD zoom)
 {
     return (this+new UPointD(offset*zoom));
 }
コード例 #5
0
ファイル: UPointD.cs プロジェクト: tfwio/modest-smf-vstnet
 public UPointD(PointF P)
 {
     _X = P.X; _Y = P.Y;
 }
コード例 #6
0
ファイル: UPointD.cs プロジェクト: tfwio/modest-smf-vstnet
 //        public UPointD(int value) : this(value,value) {  }
 //        public UPointD(long value) : this(value,value) {  }
 //        public UPointD(float value) : this((UnitD)value,(UnitD)value) {  }
 public UPointD(UnitD value)
     : this(value,value)
 {
 }
コード例 #7
0
ファイル: UPointD.cs プロジェクト: tfwio/modest-smf-vstnet
 //        public UPointD(decimal x, decimal y){ _X = x; _Y = y; }
 public UPointD(UnitD x, UnitD y, UnitType type)
 {
     _X = new UnitD(x,type); _Y = new UnitD(y,type);
 }
コード例 #8
0
ファイル: UPointD.cs プロジェクト: tfwio/modest-smf-vstnet
 /// <summary>Flattens the calling point</summary>
 public void Flatten(bool roundUp)
 {
     UPointD? f = Flat(roundUp); this.X = f.Value.X; this.Y = f.Value.Y; f = null;
 }
コード例 #9
0
ファイル: UPointD.cs プロジェクト: tfwio/modest-smf-vstnet
 public UPointD(UnitD x, UnitD y)
 {
     _X = x; _Y = y;
 }
コード例 #10
0
ファイル: UPointD.cs プロジェクト: tfwio/modest-smf-vstnet
 public void CopyPoint(UPointD inPoint)
 {
     X=inPoint.X; Y=inPoint.Y;
 }