include: Add DWRITE_MAKE_FONT_AXIS_TAG macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
33f1de3ed7
commit
6db24a2349
|
@ -80,6 +80,12 @@ typedef struct DWRITE_FONT_PROPERTY
|
|||
WCHAR const *localeName;
|
||||
} DWRITE_FONT_PROPERTY;
|
||||
|
||||
cpp_quote("#ifdef __cplusplus")
|
||||
cpp_quote("#define DWRITE_MAKE_FONT_AXIS_TAG(a,b,c,d) (static_cast<DWRITE_FONT_AXIS_TAG>(DWRITE_MAKE_OPENTYPE_TAG(a,b,c,d)))")
|
||||
cpp_quote("#else")
|
||||
cpp_quote("#define DWRITE_MAKE_FONT_AXIS_TAG(a,b,c,d) (DWRITE_MAKE_OPENTYPE_TAG(a,b,c,d))")
|
||||
cpp_quote("#endif")
|
||||
|
||||
typedef enum DWRITE_FONT_AXIS_TAG
|
||||
{
|
||||
DWRITE_FONT_AXIS_TAG_WEIGHT = 0x74686777, /* 'wght' */
|
||||
|
|
Loading…
Reference in New Issue