Struct GdiLogFont
- Namespace
- PaintDotNet.Gdi
- Assembly
- PaintDotNet.Windows.dll
A logical font description.
public struct GdiLogFont
- Inherited Members
Remarks
This is a projection of Win32's LOGFONTW
struct. It has the same size and layout, and the two are "reinterpret-cast" compatible (such as with
(LOGFONTW*)&gdiLogFont or (GdiLogFont*)&logFontW, or with System.Runtime.CompilerServices.Unsafe.BitCast``2(``0)).
Fields
Properties
Methods
- GetFaceName()
Gets the face name of the logical font.
- GetFaceName(Span<char>)
Copies the logical font's face name to the provided buffer.