CGPoint.cs 317 B

12345678910111213141516
  1. namespace Veldrid.MetalBindings
  2. {
  3. public struct CGPoint
  4. {
  5. public CGFloat x;
  6. public CGFloat y;
  7. public CGPoint(double x, double y)
  8. {
  9. this.x = x;
  10. this.y = y;
  11. }
  12. public override string ToString() => string.Format("({0},{1})", x, y);
  13. }
  14. }