Nikolay Sivov : include: Fixup DWRITE_COLOR_GLYPH_RUN1 definition.
Alexandre Julliard
julliard at winehq.org
Fri Jan 21 15:54:48 CST 2022
Module: wine
Branch: master
Commit: d967200938435db18185f7d0bfcbfb19a74de714
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d967200938435db18185f7d0bfcbfb19a74de714
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri Jan 21 15:57:15 2022 +0300
include: Fixup DWRITE_COLOR_GLYPH_RUN1 definition.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/dwrite_3.idl | 27 ++++++++++++++++-----------
1 file changed, 16 insertions(+), 11 deletions(-)
diff --git a/include/dwrite_3.idl b/include/dwrite_3.idl
index 0db2de71cf1..3542fbc8f1d 100644
--- a/include/dwrite_3.idl
+++ b/include/dwrite_3.idl
@@ -795,17 +795,22 @@ interface IDWriteFontFace5 : IDWriteFontFace4
BOOL Equals(IDWriteFontFace *fontface);
}
-typedef struct DWRITE_COLOR_GLYPH_RUN1
-{
- DWRITE_GLYPH_RUN glyphRun;
- DWRITE_GLYPH_RUN_DESCRIPTION *glyphRunDescription;
- FLOAT baselineOriginX;
- FLOAT baselineOriginY;
- DWRITE_COLOR_F runColor;
- UINT16 paletteIndex;
- DWRITE_GLYPH_IMAGE_FORMATS glyphImageFormat;
- DWRITE_MEASURING_MODE measuringMode;
-} DWRITE_COLOR_GLYPH_RUN1;
+typedef struct DWRITE_COLOR_GLYPH_RUN1 DWRITE_COLOR_GLYPH_RUN1;
+
+cpp_quote("struct DWRITE_COLOR_GLYPH_RUN1")
+cpp_quote("{")
+cpp_quote(" DWRITE_GLYPH_RUN glyphRun;")
+cpp_quote(" DWRITE_GLYPH_RUN_DESCRIPTION *glyphRunDescription;")
+cpp_quote(" FLOAT baselineOriginX;")
+cpp_quote(" FLOAT baselineOriginY;")
+cpp_quote(" DWRITE_COLOR_F runColor;")
+cpp_quote(" UINT16 paletteIndex;")
+cpp_quote("#ifdef _WIN64")
+cpp_quote(" UINT32 _pad;")
+cpp_quote("#endif")
+cpp_quote(" DWRITE_GLYPH_IMAGE_FORMATS glyphImageFormat;")
+cpp_quote(" DWRITE_MEASURING_MODE measuringMode;")
+cpp_quote("};")
[
local,
More information about the wine-cvs
mailing list