コード例 #1
0
 public bool Equals(SizeFloat p)
 {
     return(MatchFields(this, p));
 }
コード例 #2
0
 public SizeFloat(SizeFloat s)
 {
     _Width  = s.Width;
     _Height = s.Height;
 }
コード例 #3
0
 private static bool MatchFields(SizeFloat a, SizeFloat m)
 {
     return(a.Width == m.Width && a.Height == m.Height);
 }
コード例 #4
0
 public RectF(PointFloat topLeft, SizeFloat size)
 {
     _topLeft     = topLeft;
     _bottomRight = new PointFloat(size.Width + topLeft.X - 1, size.Height + topLeft.Y - 1);
 }
コード例 #5
0
 public RectF(float X, float Y, SizeFloat size)
 {
     _topLeft     = new PointFloat(X, Y);
     _bottomRight = new PointFloat(size.Width + X - 1, size.Height + Y - 1);
 }
コード例 #6
0
ファイル: RectF.cs プロジェクト: Dazmo/Terraria-Map-Editor
 public RectF(float X, float Y, SizeFloat size)
 {
     _topLeft = new PointFloat(X, Y);
     _bottomRight = new PointFloat(size.Width + X - 1, size.Height + Y - 1);
 }
コード例 #7
0
ファイル: RectF.cs プロジェクト: Dazmo/Terraria-Map-Editor
 public RectF(PointFloat topLeft, SizeFloat size)
 {
     _topLeft = topLeft;
     _bottomRight = new PointFloat(size.Width + topLeft.X - 1, size.Height + topLeft.Y - 1);
 }
コード例 #8
0
 private static bool MatchFields(SizeFloat a, SizeFloat m)
 {
     return (a.Width == m.Width && a.Height == m.Height);
 }
コード例 #9
0
 public bool Equals(SizeFloat p)
 {
     return MatchFields(this, p);
 }
コード例 #10
0
 public SizeFloat(SizeFloat s)
 {
     _Width = s.Width;
     _Height = s.Height;
 }