Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DWRITE_MEASURING_MODE enumeration

Indicates the measuring method used for text layout.

Syntax


enum DWRITE_MEASURING_MODE {  DWRITE_MEASURING_MODE_NATURAL, 
  DWRITE_MEASURING_MODE_GDI_CLASSIC, 
  DWRITE_MEASURING_MODE_GDI_NATURAL 

};

Constants

DWRITE_MEASURING_MODE_NATURAL

Specifies that text is measured using glyph ideal metrics whose values are independent to the current display resolution.

DWRITE_MEASURING_MODE_GDI_CLASSIC

Specifies that text is measured using glyph display-compatible metrics whose values tuned for the current display resolution.

DWRITE_MEASURING_MODE_GDI_NATURAL

Specifies that text is measured using the same glyph display metrics as text measured by GDI using a font created with CLEARTYPE_NATURAL_QUALITY.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

Dwrite.h

 

 

Community Additions

Show:
© 2014 Microsoft. All rights reserved.