You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
502 B

  1. using System.Runtime.InteropServices;
  2. namespace Apewer.Internals.Interop
  3. {
  4. /// <summary></summary>
  5. [StructLayout(LayoutKind.Sequential)]
  6. struct Point
  7. {
  8. /// <summary></summary>
  9. public int x;
  10. /// <summary></summary>
  11. public int y;
  12. /// <summary></summary>
  13. /// <param name="x"></param>
  14. /// <param name="y"></param>
  15. public Point(int x, int y)
  16. {
  17. this.x = x;
  18. this.y = y;
  19. }
  20. }
  21. }