POINT (Structures)
Last changed: -93.99.148.7

.
Summary
The POINT structure defines the x- and y-coordinates of a point.

C# Signature:

   [StructLayout( LayoutKind.Sequential )]
   public struct POINT {
      public int X;
      public int Y;

      public POINT( int x, int y ) {
          this.X = x;
          this.Y = y;
      }

      public static implicit operator Point( POINT p ) {
          return new Point( p.X,  p.Y );
      }

      public static implicit operator POINT( Point p ) {
          return new POINT( p.X, p.Y );
      }
   }

VB .NET Signature:

    <System.Runtime.InteropServices.StructLayout(Runtime.InteropServices.LayoutKind.Sequential)> _
    Public Structure POINT
    Public X As Integer
    Public Y As Integer

    Public Sub New(ByVal X As Integer, ByVal Y As Integer)
        Me.X = X
        Me.Y = Y
    End Sub
    End Structure

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

TODO

Documentation
POINT on MSDN