Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DWRITE_BASELINE enumeration contains values that specify the baseline for text alignment.
Syntax
typedef 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_DEFAULTThe Roman baseline for horizontal; the Central baseline for vertical. |
DWRITE_BASELINE_ROMANThe baseline that is used by alphabetic scripts such as Latin, Greek, and Cyrillic. |
DWRITE_BASELINE_CENTRALCentral baseline, which is generally used for vertical text. |
DWRITE_BASELINE_MATHMathematical baseline, which math characters are centered on. |
DWRITE_BASELINE_HANGINGHanging baseline, which is used in scripts like Devanagari. |
DWRITE_BASELINE_IDEOGRAPHIC_BOTTOMIdeographic bottom baseline for CJK, left in vertical. |
DWRITE_BASELINE_IDEOGRAPHIC_TOPIdeographic top baseline for CJK, right in vertical. |
DWRITE_BASELINE_MINIMUMThe bottom-most extent in horizontal, left-most in vertical. |
DWRITE_BASELINE_MAXIMUMThe top-most extent in horizontal, right-most in vertical. |
Requirements
| Requirement | Value |
|---|---|
| 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] |
| Header | dwrite_1.h |