add some more native functions for Highlighter
This commit is contained in:
21
Pilz.Win32/Native/POINT.vb
Normal file
21
Pilz.Win32/Native/POINT.vb
Normal file
@@ -0,0 +1,21 @@
|
||||
Imports System.Runtime.InteropServices
|
||||
|
||||
Namespace Native
|
||||
|
||||
<StructLayout(LayoutKind.Sequential)>
|
||||
Public Structure POINT
|
||||
Public Sub New(ByVal p As System.Drawing.Point)
|
||||
Me.x = p.X
|
||||
Me.y = p.Y
|
||||
End Sub
|
||||
|
||||
Public Sub New(ByVal x As Integer, ByVal y As Integer)
|
||||
Me.x = x
|
||||
Me.y = y
|
||||
End Sub
|
||||
|
||||
Public x As Integer
|
||||
Public y As Integer
|
||||
End Structure
|
||||
|
||||
End Namespace
|
||||
Reference in New Issue
Block a user