Drawing3d documented Class Library

FeaturesW32.GetPath(IntPtr, Point, Byte, Int32) Method

The GetPath function retrieves the coordinates defining the endpoints of lines and the control points of curves found in the path that is selected into the specified device context.

[Visual Basic]
<PreserveSig> _
<DllImport(EntryPoint:="GetPath", CharSet:=CharSet.None, SetLastError:=False, ExactSpelling:=False, PreserveSig:=True, CallingConvention:=CallingConvention.Winapi, BestFitMapping:=False, ThrowOnUnmappableChar:=False, Value:="gdi32.dll")> _
Public Overloads Shared Sub GetPath( _
   ByVal hDC As IntPtr, _
   ByRef lpPoint As Point, _
   ByRef lpTypes As Byte, _
   ByVal nSize As Integer _
)
[C#]
[PreserveSig]
[DllImport(EntryPoint="GetPath", CharSet=CharSet.None, SetLastError=False, ExactSpelling=False, PreserveSig=True, CallingConvention=CallingConvention.Winapi, BestFitMapping=False, ThrowOnUnmappableChar=False, Value="gdi32.dll")]
public static int GetPath(
   IntPtr hDC,
   ref Point lpPoint,
   ref byte lpTypes,
   int nSize
);

Parameters

hDC
A handle to a device context that contains a closed path.
lpPoint
A pointer to an array of POINT structures that receives the line endpoints and curve control points, in logical coordinates.
lpTypes
A pointer to an array of bytes that receives the vertex types. This parameter can be one of the following values:
PT_MOVETO, PT_LINETO, PT_BEZIERTO
nSize

Return Value

See Also

FeaturesW32 Class | Drawing3d.OS.Windows Namespace | FeaturesW32.GetPath Overload List