Drawing3d documented Class Library

FeaturesW32.GetGlyphOutlineW Method

Get the outline of a char.

[Visual Basic]
<PreserveSig> _
<DllImport(EntryPoint:="GetGlyphOutlineW", CharSet:=CharSet.None, SetLastError:=False, ExactSpelling:=False, PreserveSig:=True, CallingConvention:=CallingConvention.Winapi, BestFitMapping:=False, ThrowOnUnmappableChar:=False, Value:="gdi32.dll")> _
Public Shared Sub GetGlyphOutlineW( _
   ByVal hdc As IntPtr, _
   ByVal uChar As UInt32, _
   ByVal uFormat As UInt32, _
   ByRef lpgm As GLYPHMETRICS, _
   ByVal cbBuffer As UInt32, _
   ByVal lpvBuffer As IntPtr, _
   ByRef lpmat2 As MAT2 _
)
[C#]
[PreserveSig]
[DllImport(EntryPoint="GetGlyphOutlineW", CharSet=CharSet.None, SetLastError=False, ExactSpelling=False, PreserveSig=True, CallingConvention=CallingConvention.Winapi, BestFitMapping=False, ThrowOnUnmappableChar=False, Value="gdi32.dll")]
public static int GetGlyphOutlineW(
   IntPtr hdc,
   uint uChar,
   uint uFormat,
   out GLYPHMETRICS lpgm,
   uint cbBuffer,
   IntPtr lpvBuffer,
   ref MAT2 lpmat2
);

Parameters

hdc
uChar
uFormat
lpgm
cbBuffer
lpvBuffer
lpmat2

Return Value

See Also

FeaturesW32 Class | Drawing3d.OS.Windows Namespace