Commit 6db24a23 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

include: Add DWRITE_MAKE_FONT_AXIS_TAG macro.

parent 33f1de3e
......@@ -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' */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment