예제 #1
0
 public bool Equals(PointFloat p)
 {
     return MatchFields(this, p);
 }
예제 #2
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);
 }
예제 #3
0
 public RectF(float left, float right, float top, float bottom)
 {
     _topLeft     = new PointFloat(left, top);
     _bottomRight = new PointFloat(right, bottom);
 }
예제 #4
0
 public RectF(PointFloat topLeft, PointFloat bottomRight)
 {
     _topLeft     = topLeft;
     _bottomRight = bottomRight;
 }
예제 #5
0
 public RectF(float bottom, float right)
 {
     _topLeft     = new PointFloat();
     _bottomRight = new PointFloat(bottom, right);
 }
예제 #6
0
 private static bool MatchFields(PointFloat a, PointFloat m)
 {
     return(a.X == m.X && a.Y == m.Y);
 }
예제 #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
 public RectF(float X, float Y, SizeFloat size)
 {
     _topLeft = new PointFloat(X, Y);
     _bottomRight = new PointFloat(size.Width + X - 1, size.Height + Y - 1);
 }
예제 #9
0
 public RectF(float left, float right, float top, float bottom)
 {
     _topLeft = new PointFloat(left, top);
     _bottomRight = new PointFloat(right, bottom);
 }
예제 #10
0
 public RectF(PointFloat topLeft, PointFloat bottomRight)
 {
     _topLeft = topLeft;
     _bottomRight = bottomRight;
 }
예제 #11
0
 public RectF(float bottom, float right)
 {
     _topLeft = new PointFloat();
     _bottomRight = new PointFloat(bottom, right);
 }
예제 #12
0
 public RectF(PointFloat topLeft, SizeFloat size)
 {
     _topLeft = topLeft;
     _bottomRight = new PointFloat(size.Width + topLeft.X - 1, size.Height + topLeft.Y - 1);
 }
예제 #13
0
 public RectF(RectF rect)
 {
     _topLeft = new PointFloat(rect.TopLeft);
     _bottomRight = new PointFloat(rect.BottomRight);
 }
예제 #14
0
 public bool Equals(PointFloat p)
 {
     return(MatchFields(this, p));
 }
예제 #15
0
 private static bool MatchFields(PointFloat a, PointFloat m)
 {
     return (a.X == m.X && a.Y == m.Y);
 }
예제 #16
0
 public RectF(RectF rect)
 {
     _topLeft     = new PointFloat(rect.TopLeft);
     _bottomRight = new PointFloat(rect.BottomRight);
 }
예제 #17
0
 public PointFloat(PointFloat p)
 {
     _x = p.X;
     _y = p.Y;
 }
예제 #18
0
 public PointFloat(PointFloat p)
 {
     _x = p.X;
     _y = p.Y;
 }