DWRITE_FONT_AXIS_TAG enumeration (dwrite_3.h)
Defines constants that specify a four-character identifier for a font axis.
Syntax
typedef enum DWRITE_FONT_AXIS_TAG {
DWRITE_FONT_AXIS_TAG_WEIGHT,
DWRITE_FONT_AXIS_TAG_WIDTH,
DWRITE_FONT_AXIS_TAG_SLANT,
DWRITE_FONT_AXIS_TAG_OPTICAL_SIZE,
DWRITE_FONT_AXIS_TAG_ITALIC
} ;
Constants
DWRITE_FONT_AXIS_TAG_WEIGHT Specifies the weight axis, using the identifier 'w','g','h','t'. |
DWRITE_FONT_AXIS_TAG_WIDTH Specifies the width axis, using the identifier 'w','d','t','h'. |
DWRITE_FONT_AXIS_TAG_SLANT Specifies the slant axis, using the identifier 's','l','n','t'. |
DWRITE_FONT_AXIS_TAG_OPTICAL_SIZE Specifies the optical size axis, using the identifier 'o','p','s','z'. |
DWRITE_FONT_AXIS_TAG_ITALIC Specifies the italic axis, using the identifier 'i','t','a','l'. |
Remarks
You can use the DWRITE_MAKE_FONT_AXIS_TAG(a,b,c,d) macro to create your own custom identifiers. Here's an example.
DWRITE_MAKE_FONT_AXIS_TAG('c', 's', 't', 'm');
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 Build 20348 |
Minimum supported server | Windows 10 Build 20348 |
Header | dwrite_3.h |
See also
DWRITE_FONT_AXIS_RANGE structure DWRITE_FONT_AXIS_VALUE structure