예제 #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
 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
 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;
 }