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] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|