Table of Contents

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

MaxFaceNameLength

Properties

CharacterSet
Escapement
Family
Height
Italic
OutputPrecision
Pitch
Quality
StrikeOut
Underline
Weight
Width

Methods

GetFaceName()
GetFaceName(Span<char>)
SetFaceName(ReadOnlySpan<char>, bool)
SetFaceName(string, bool)