Table of Contents

Interface IFontFace

Namespace
PaintDotNet.DirectWrite
Assembly
PaintDotNet.Windows.dll
public interface IFontFace : IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inherited Members
Extension Methods

Properties

IsColorFont

Gets whether a color rendering path is potentially necessary. The value is true if a color rendering path is potentially necessary.

Metrics

Gets design units and common metrics for the font face. These metrics are applicable to all the glyphs within a font face and are used by applications for layout calculations. The metrics are in font design units.

Methods

GetGlyphRunOutline(float, ReadOnlySpan<ushort>, ReadOnlySpan<float>, ReadOnlySpan<GlyphOffset>, bool, bool, ISimplifiedGeometrySink)
GetRecommendedRenderingMode(float, Vector2Float, in Matrix3x2Float?, bool, OutlineThreshold, TextMeasuringMode, ITextRenderingParameters?)

Determines the recommended text rendering and grid-fit mode to be used based on the font, size, world transform, and measuring mode.

GetRecommendedRenderingMode(float, float, TextMeasuringMode, ITextRenderingParameters?)

Determines the recommended rendering mode for the font, using the specified size and rendering parameters.