Commit 729c9203 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

include: Move DWRITE_GLYPH_IMAGE_FORMATS definition to dcommon.h.

parent de5db669
......@@ -33,6 +33,19 @@ typedef enum DWRITE_MEASURING_MODE
DWRITE_MEASURING_MODE_GDI_NATURAL
} DWRITE_MEASURING_MODE;
typedef enum DWRITE_GLYPH_IMAGE_FORMATS
{
DWRITE_GLYPH_IMAGE_FORMATS_NONE = 0,
DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE = 1 << 0,
DWRITE_GLYPH_IMAGE_FORMATS_CFF = 1 << 1,
DWRITE_GLYPH_IMAGE_FORMATS_COLR = 1 << 2,
DWRITE_GLYPH_IMAGE_FORMATS_SVG = 1 << 3,
DWRITE_GLYPH_IMAGE_FORMATS_PNG = 1 << 4,
DWRITE_GLYPH_IMAGE_FORMATS_JPEG = 1 << 5,
DWRITE_GLYPH_IMAGE_FORMATS_TIFF = 1 << 6,
DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8 = 1 << 7
} DWRITE_GLYPH_IMAGE_FORMATS;
typedef enum D2D1_ALPHA_MODE
{
D2D1_ALPHA_MODE_UNKNOWN = 0,
......
......@@ -733,19 +733,6 @@ interface IDWriteFactory3 : IDWriteFactory2
HRESULT GetFontDownloadQueue(IDWriteFontDownloadQueue **queue);
}
typedef enum DWRITE_GLYPH_IMAGE_FORMATS
{
DWRITE_GLYPH_IMAGE_FORMATS_NONE = 0,
DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE = 1 << 0,
DWRITE_GLYPH_IMAGE_FORMATS_CFF = 1 << 1,
DWRITE_GLYPH_IMAGE_FORMATS_COLR = 1 << 2,
DWRITE_GLYPH_IMAGE_FORMATS_SVG = 1 << 3,
DWRITE_GLYPH_IMAGE_FORMATS_PNG = 1 << 4,
DWRITE_GLYPH_IMAGE_FORMATS_JPEG = 1 << 5,
DWRITE_GLYPH_IMAGE_FORMATS_TIFF = 1 << 6,
DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8 = 1 << 7
} DWRITE_GLYPH_IMAGE_FORMATS;
typedef struct DWRITE_GLYPH_IMAGE_DATA
{
void const *imageData;
......
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