Table of Contents

Enum OutlineThreshold

Namespace
PaintDotNet.DirectWrite
Assembly
PaintDotNet.Windows.dll

The OutlineThreshold enumeration contains values that specify the policy used by the IFontFace.GetRecommendedRenderingMode method to determine whether to render glyphs in outline mode.
See DWRITE_OUTLINE_THRESHOLD for more information.

public enum OutlineThreshold

Fields

Antialiased = 0

Graphics system renders anti-aliased outlines.

Aliased = 1

Graphics system renders aliased outlines.

Remarks

Glyphs are rendered in outline mode by default at large sizes for performance reasons, but how large (that is, the outline threshold) depends on the quality of outline rendering. If the graphics system renders anti-aliased outlines, a relatively low threshold is used. But if the graphics system renders aliased outlines, a much higher threshold is used.