1 | /*** Autogenerated by WIDL 6.4 from include/dcommon.idl - Do not edit ***/
|
---|
2 |
|
---|
3 | #ifdef _WIN32
|
---|
4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__
|
---|
5 | #define __REQUIRED_RPCNDR_H_VERSION__ 475
|
---|
6 | #endif
|
---|
7 | #include <rpc.h>
|
---|
8 | #include <rpcndr.h>
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | #ifndef COM_NO_WINDOWS_H
|
---|
12 | #include <windows.h>
|
---|
13 | #include <ole2.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | #ifndef __dcommon_h__
|
---|
17 | #define __dcommon_h__
|
---|
18 |
|
---|
19 | /* Forward declarations */
|
---|
20 |
|
---|
21 | /* Headers for imported files */
|
---|
22 |
|
---|
23 | #include <dxgiformat.h>
|
---|
24 |
|
---|
25 | #ifdef __cplusplus
|
---|
26 | extern "C" {
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | #if 0
|
---|
30 | typedef struct __WIDL_dcommon_generated_name_00000000 {
|
---|
31 | LONG x;
|
---|
32 | LONG y;
|
---|
33 | } POINT;
|
---|
34 | typedef struct __WIDL_dcommon_generated_name_00000001 {
|
---|
35 | LONG left;
|
---|
36 | LONG top;
|
---|
37 | LONG right;
|
---|
38 | LONG bottom;
|
---|
39 | } RECT;
|
---|
40 | typedef unsigned int UINT32;
|
---|
41 | #endif
|
---|
42 | typedef enum DWRITE_MEASURING_MODE {
|
---|
43 | DWRITE_MEASURING_MODE_NATURAL = 0,
|
---|
44 | DWRITE_MEASURING_MODE_GDI_CLASSIC = 1,
|
---|
45 | DWRITE_MEASURING_MODE_GDI_NATURAL = 2
|
---|
46 | } DWRITE_MEASURING_MODE;
|
---|
47 | typedef enum DWRITE_GLYPH_IMAGE_FORMATS {
|
---|
48 | DWRITE_GLYPH_IMAGE_FORMATS_NONE = 0,
|
---|
49 | DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE = 1 << 0,
|
---|
50 | DWRITE_GLYPH_IMAGE_FORMATS_CFF = 1 << 1,
|
---|
51 | DWRITE_GLYPH_IMAGE_FORMATS_COLR = 1 << 2,
|
---|
52 | DWRITE_GLYPH_IMAGE_FORMATS_SVG = 1 << 3,
|
---|
53 | DWRITE_GLYPH_IMAGE_FORMATS_PNG = 1 << 4,
|
---|
54 | DWRITE_GLYPH_IMAGE_FORMATS_JPEG = 1 << 5,
|
---|
55 | DWRITE_GLYPH_IMAGE_FORMATS_TIFF = 1 << 6,
|
---|
56 | DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8 = 1 << 7
|
---|
57 | } DWRITE_GLYPH_IMAGE_FORMATS;
|
---|
58 | typedef enum D2D1_ALPHA_MODE {
|
---|
59 | D2D1_ALPHA_MODE_UNKNOWN = 0,
|
---|
60 | D2D1_ALPHA_MODE_PREMULTIPLIED = 1,
|
---|
61 | D2D1_ALPHA_MODE_STRAIGHT = 2,
|
---|
62 | D2D1_ALPHA_MODE_IGNORE = 3,
|
---|
63 | D2D1_ALPHA_MODE_FORCE_DWORD = 0xffffffff
|
---|
64 | } D2D1_ALPHA_MODE;
|
---|
65 | typedef struct D2D1_PIXEL_FORMAT {
|
---|
66 | DXGI_FORMAT format;
|
---|
67 | D2D1_ALPHA_MODE alphaMode;
|
---|
68 | } D2D1_PIXEL_FORMAT;
|
---|
69 | typedef struct D2D_POINT_2F {
|
---|
70 | float x;
|
---|
71 | float y;
|
---|
72 | } D2D_POINT_2F;
|
---|
73 | typedef struct D2D_POINT_2F D2D1_POINT_2F;
|
---|
74 | typedef POINT D2D_POINT_2L;
|
---|
75 | typedef POINT D2D1_POINT_2L;
|
---|
76 | typedef struct D2D_VECTOR_2F {
|
---|
77 | float x;
|
---|
78 | float y;
|
---|
79 | } D2D_VECTOR_2F;
|
---|
80 | typedef struct D2D_VECTOR_3F {
|
---|
81 | float x;
|
---|
82 | float y;
|
---|
83 | float z;
|
---|
84 | } D2D_VECTOR_3F;
|
---|
85 | typedef struct D2D_VECTOR_4F {
|
---|
86 | float x;
|
---|
87 | float y;
|
---|
88 | float z;
|
---|
89 | float w;
|
---|
90 | } D2D_VECTOR_4F;
|
---|
91 | typedef RECT D2D_RECT_L;
|
---|
92 | typedef RECT D2D1_RECT_L;
|
---|
93 | typedef struct D2D_SIZE_U {
|
---|
94 | UINT32 width;
|
---|
95 | UINT32 height;
|
---|
96 | } D2D_SIZE_U;
|
---|
97 | typedef struct D2D_SIZE_U D2D1_SIZE_U;
|
---|
98 | typedef struct D2D_MATRIX_3X2_F {
|
---|
99 | __C89_NAMELESS union {
|
---|
100 | __C89_NAMELESS struct {
|
---|
101 | float m11;
|
---|
102 | float m12;
|
---|
103 | float m21;
|
---|
104 | float m22;
|
---|
105 | float dx;
|
---|
106 | float dy;
|
---|
107 | } __C89_NAMELESSSTRUCTNAME1;
|
---|
108 | __C89_NAMELESS struct {
|
---|
109 | float _11;
|
---|
110 | float _12;
|
---|
111 | float _21;
|
---|
112 | float _22;
|
---|
113 | float _31;
|
---|
114 | float _32;
|
---|
115 | } __C89_NAMELESSSTRUCTNAME2;
|
---|
116 | float m[3][2];
|
---|
117 | } __C89_NAMELESSUNIONNAME;
|
---|
118 | } D2D_MATRIX_3X2_F;
|
---|
119 | typedef struct D2D_MATRIX_4X3_F {
|
---|
120 | __C89_NAMELESS union {
|
---|
121 | __C89_NAMELESS struct {
|
---|
122 | float _11;
|
---|
123 | float _12;
|
---|
124 | float _13;
|
---|
125 | float _21;
|
---|
126 | float _22;
|
---|
127 | float _23;
|
---|
128 | float _31;
|
---|
129 | float _32;
|
---|
130 | float _33;
|
---|
131 | float _41;
|
---|
132 | float _42;
|
---|
133 | float _43;
|
---|
134 | } __C89_NAMELESSSTRUCTNAME;
|
---|
135 | float m[4][3];
|
---|
136 | } __C89_NAMELESSUNIONNAME;
|
---|
137 | } D2D_MATRIX_4X3_F;
|
---|
138 | typedef struct D2D_MATRIX_4X4_F {
|
---|
139 | __C89_NAMELESS union {
|
---|
140 | __C89_NAMELESS struct {
|
---|
141 | float _11;
|
---|
142 | float _12;
|
---|
143 | float _13;
|
---|
144 | float _14;
|
---|
145 | float _21;
|
---|
146 | float _22;
|
---|
147 | float _23;
|
---|
148 | float _24;
|
---|
149 | float _31;
|
---|
150 | float _32;
|
---|
151 | float _33;
|
---|
152 | float _34;
|
---|
153 | float _41;
|
---|
154 | float _42;
|
---|
155 | float _43;
|
---|
156 | float _44;
|
---|
157 | } __C89_NAMELESSSTRUCTNAME;
|
---|
158 | float m[4][4];
|
---|
159 | } __C89_NAMELESSUNIONNAME;
|
---|
160 | } D2D_MATRIX_4X4_F;
|
---|
161 | typedef struct D2D_MATRIX_5X4_F {
|
---|
162 | __C89_NAMELESS union {
|
---|
163 | __C89_NAMELESS struct {
|
---|
164 | float _11;
|
---|
165 | float _12;
|
---|
166 | float _13;
|
---|
167 | float _14;
|
---|
168 | float _21;
|
---|
169 | float _22;
|
---|
170 | float _23;
|
---|
171 | float _24;
|
---|
172 | float _31;
|
---|
173 | float _32;
|
---|
174 | float _33;
|
---|
175 | float _34;
|
---|
176 | float _41;
|
---|
177 | float _42;
|
---|
178 | float _43;
|
---|
179 | float _44;
|
---|
180 | float _51;
|
---|
181 | float _52;
|
---|
182 | float _53;
|
---|
183 | float _54;
|
---|
184 | } __C89_NAMELESSSTRUCTNAME;
|
---|
185 | float m[5][4];
|
---|
186 | } __C89_NAMELESSUNIONNAME;
|
---|
187 | } D2D_MATRIX_5X4_F;
|
---|
188 | /* Begin additional prototypes for all interfaces */
|
---|
189 |
|
---|
190 |
|
---|
191 | /* End additional prototypes */
|
---|
192 |
|
---|
193 | #ifdef __cplusplus
|
---|
194 | }
|
---|
195 | #endif
|
---|
196 |
|
---|
197 | #endif /* __dcommon_h__ */
|
---|