mirror of
https://github.com/wine-mirror/wine
synced 2024-07-05 17:28:47 +00:00
dwrite: Avoid redefining the DWRITE_GLYPH_RUN typedef.
This commit is contained in:
parent
25d7a1bbbf
commit
8127fd9599
|
@ -37,7 +37,10 @@ interface IDWriteTextLayout;
|
||||||
interface IWICBitmapSource;
|
interface IWICBitmapSource;
|
||||||
interface IWICBitmap;
|
interface IWICBitmap;
|
||||||
|
|
||||||
|
cpp_quote("#ifndef __dwrite_h__")
|
||||||
|
/* already defined in dwrite.h but needed for WIDL */
|
||||||
typedef struct DWRITE_GLYPH_RUN DWRITE_GLYPH_RUN;
|
typedef struct DWRITE_GLYPH_RUN DWRITE_GLYPH_RUN;
|
||||||
|
cpp_quote("#endif /* __dwrite_h__ */")
|
||||||
|
|
||||||
typedef D2D_POINT_2F D2D1_POINT_2F;
|
typedef D2D_POINT_2F D2D1_POINT_2F;
|
||||||
typedef D2D_MATRIX_3X2_F D2D1_MATRIX_3X2_F;
|
typedef D2D_MATRIX_3X2_F D2D1_MATRIX_3X2_F;
|
||||||
|
|
|
@ -382,7 +382,11 @@ typedef struct DWRITE_TRIMMING
|
||||||
UINT32 delimiterCount;
|
UINT32 delimiterCount;
|
||||||
} DWRITE_TRIMMING;
|
} DWRITE_TRIMMING;
|
||||||
|
|
||||||
typedef struct DWRITE_GLYPH_RUN
|
cpp_quote("#ifndef __d2d1_h__")
|
||||||
|
typedef struct DWRITE_GLYPH_RUN DWRITE_GLYPH_RUN;
|
||||||
|
cpp_quote("#endif /* __d2d1_h__ */")
|
||||||
|
|
||||||
|
struct DWRITE_GLYPH_RUN
|
||||||
{
|
{
|
||||||
IDWriteFontFace* fontFace;
|
IDWriteFontFace* fontFace;
|
||||||
FLOAT fontEmSize;
|
FLOAT fontEmSize;
|
||||||
|
@ -392,7 +396,7 @@ typedef struct DWRITE_GLYPH_RUN
|
||||||
DWRITE_GLYPH_OFFSET const* glyphOffsets;
|
DWRITE_GLYPH_OFFSET const* glyphOffsets;
|
||||||
BOOL isSideways;
|
BOOL isSideways;
|
||||||
UINT32 bidiLevel;
|
UINT32 bidiLevel;
|
||||||
} DWRITE_GLYPH_RUN;
|
};
|
||||||
|
|
||||||
typedef struct DWRITE_GLYPH_RUN_DESCRIPTION
|
typedef struct DWRITE_GLYPH_RUN_DESCRIPTION
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user