DWRITE_BASELINE enumeration
The DWRITE_BASELINE enumeration contains values that specify the baseline for text alignment.
Syntax
enum DWRITE_BASELINE {
DWRITE_BASELINE_DEFAULT,
DWRITE_BASELINE_ROMAN,
DWRITE_BASELINE_CENTRAL,
DWRITE_BASELINE_MATH,
DWRITE_BASELINE_HANGING,
DWRITE_BASELINE_IDEOGRAPHIC_BOTTOM,
DWRITE_BASELINE_IDEOGRAPHIC_TOP,
DWRITE_BASELINE_MINIMUM,
DWRITE_BASELINE_MAXIMUM
};
Constants
- DWRITE_BASELINE_DEFAULT
-
The Roman baseline for horizontal; the Central baseline for vertical.
- DWRITE_BASELINE_ROMAN
-
The baseline that is used by alphabetic scripts such as Latin, Greek, and Cyrillic.
- DWRITE_BASELINE_CENTRAL
-
Central baseline, which is generally used for vertical text.
- DWRITE_BASELINE_MATH
-
Mathematical baseline, which math characters are centered on.
- DWRITE_BASELINE_HANGING
-
Hanging baseline, which is used in scripts like Devanagari.
- DWRITE_BASELINE_IDEOGRAPHIC_BOTTOM
-
Ideographic bottom baseline for CJK, left in vertical.
- DWRITE_BASELINE_IDEOGRAPHIC_TOP
-
Ideographic top baseline for CJK, right in vertical.
- DWRITE_BASELINE_MINIMUM
-
The bottom-most extent in horizontal, left-most in vertical.
- DWRITE_BASELINE_MAXIMUM
-
The top-most extent in horizontal, right-most in vertical.
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 |
|
See also