Export (0) Print
Expand All
Expand Minimize

DWRITE_OUTLINE_THRESHOLD enumeration

The DWRITE_OUTLINE_THRESHOLD enumeration contains values that specify the policy used by the IDWriteFontFace1::GetRecommendedRenderingMode method to determine whether to render glyphs in outline mode.

Syntax


enum DWRITE_OUTLINE_THRESHOLD {  DWRITE_OUTLINE_THRESHOLD_ANTIALIASED, 
  DWRITE_OUTLINE_THRESHOLD_ALIASED 

};

Constants

DWRITE_OUTLINE_THRESHOLD_ANTIALIASED

Graphics system renders anti-aliased outlines.

DWRITE_OUTLINE_THRESHOLD_ALIASED

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.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite_1.h

See also

IDWriteFontFace1::GetRecommendedRenderingMode

 

 

Community Additions

ADD
Show:
© 2014 Microsoft