add some more native functions for Highlighter

This commit is contained in:
2022-06-27 20:33:12 +02:00
parent 675dd6594a
commit e7e83b9597
4 changed files with 131 additions and 0 deletions

View 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