DWRITE_MEASURING_MODE enumeration (dcommon.h)
Indicates the measuring method used for text layout.
Syntax
typedef 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
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Header | dcommon.h (include Dwrite.h) |