ReactOS 0.4.17-dev-923-g4c9a150
dcommon.idl
Go to the documentation of this file.
1/*
2 * Copyright 2012 Nikolay Sivov for CodeWeavers
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19import "dxgiformat.idl";
20
21cpp_quote("#if 0")
22typedef struct
23{
24 long x, y;
25} POINT;
26
27typedef struct
28{
30} RECT;
31
32typedef unsigned int UINT32;
33cpp_quote("#endif")
34
36{
41
43{
55
56cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DWRITE_GLYPH_IMAGE_FORMATS)")
57cpp_quote("#define DWRITE_GLYPH_IMAGE_FORMATS_COLR_PAINT_TREE_DEFINED")
58
59typedef enum D2D1_ALPHA_MODE
60{
61 D2D1_ALPHA_MODE_UNKNOWN = 0,
62 D2D1_ALPHA_MODE_PREMULTIPLIED = 1,
63 D2D1_ALPHA_MODE_STRAIGHT = 2,
64 D2D1_ALPHA_MODE_IGNORE = 3,
65 D2D1_ALPHA_MODE_FORCE_DWORD = 0xffffffff
66} D2D1_ALPHA_MODE;
67
68typedef struct D2D1_PIXEL_FORMAT
69{
70 DXGI_FORMAT format;
71 D2D1_ALPHA_MODE alphaMode;
72} D2D1_PIXEL_FORMAT;
73
74typedef struct D2D_POINT_2F
75{
76 float x;
77 float y;
78} D2D_POINT_2F, D2D1_POINT_2F;
79
80typedef POINT D2D_POINT_2L, D2D1_POINT_2L;
81
82typedef struct D2D_VECTOR_2F
83{
84 float x;
85 float y;
86} D2D_VECTOR_2F;
87
88typedef struct D2D_VECTOR_3F
89{
90 float x;
91 float y;
92 float z;
93} D2D_VECTOR_3F;
94
95typedef struct D2D_VECTOR_4F
96{
97 float x;
98 float y;
99 float z;
100 float w;
101} D2D_VECTOR_4F;
102
103typedef struct D2D_RECT_F
104{
105 float left;
106 float top;
107 float right;
108 float bottom;
109} D2D_RECT_F;
110
111typedef RECT D2D_RECT_L, D2D1_RECT_L;
112
113typedef struct D2D_SIZE_U
114{
115 UINT32 width;
116 UINT32 height;
117} D2D_SIZE_U, D2D1_SIZE_U;
118
119typedef struct D2D_MATRIX_3X2_F
120{
121 union
122 {
123 struct
124 {
125 float m11;
126 float m12;
127 float m21;
128 float m22;
129 float dx;
130 float dy;
131 };
132
133 struct
134 {
135 float _11, _12;
136 float _21, _22;
137 float _31, _32;
138 };
139
140 float m[3][2];
141 };
142} D2D_MATRIX_3X2_F;
143
144typedef struct D2D_MATRIX_4X3_F
145{
146 union
147 {
148 struct
149 {
150 float _11, _12, _13;
151 float _21, _22, _23;
152 float _31, _32, _33;
153 float _41, _42, _43;
154 };
155
156 float m[4][3];
157 };
158} D2D_MATRIX_4X3_F;
159
160typedef struct D2D_MATRIX_4X4_F
161{
162 union
163 {
164 struct
165 {
166 float _11, _12, _13, _14;
167 float _21, _22, _23, _24;
168 float _31, _32, _33, _34;
169 float _41, _42, _43, _44;
170 };
171
172 float m[4][4];
173 };
174} D2D_MATRIX_4X4_F;
175
176typedef struct D2D_MATRIX_5X4_F
177{
178 union
179 {
180 struct
181 {
182 float _11, _12, _13, _14;
183 float _21, _22, _23, _24;
184 float _31, _32, _33, _34;
185 float _41, _42, _43, _44;
186 float _51, _52, _53, _54;
187 };
188
189 float m[5][4];
190 };
191} D2D_MATRIX_5X4_F;
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
Definition: d3d10.idl:496
DWRITE_GLYPH_IMAGE_FORMATS
Definition: dcommon.idl:43
@ DWRITE_GLYPH_IMAGE_FORMATS_COLR
Definition: dcommon.idl:47
@ DWRITE_GLYPH_IMAGE_FORMATS_NONE
Definition: dcommon.idl:44
@ DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8
Definition: dcommon.idl:52
@ DWRITE_GLYPH_IMAGE_FORMATS_JPEG
Definition: dcommon.idl:50
@ DWRITE_GLYPH_IMAGE_FORMATS_COLR_PAINT_TREE
Definition: dcommon.idl:53
@ DWRITE_GLYPH_IMAGE_FORMATS_PNG
Definition: dcommon.idl:49
@ DWRITE_GLYPH_IMAGE_FORMATS_CFF
Definition: dcommon.idl:46
@ DWRITE_GLYPH_IMAGE_FORMATS_SVG
Definition: dcommon.idl:48
@ DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE
Definition: dcommon.idl:45
@ DWRITE_GLYPH_IMAGE_FORMATS_TIFF
Definition: dcommon.idl:51
DWRITE_MEASURING_MODE
Definition: dcommon.idl:36
@ DWRITE_MEASURING_MODE_GDI_CLASSIC
Definition: dcommon.idl:38
@ DWRITE_MEASURING_MODE_NATURAL
Definition: dcommon.idl:37
@ DWRITE_MEASURING_MODE_GDI_NATURAL
Definition: dcommon.idl:39
unsigned int UINT32
Definition: dcommon.idl:32
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLdouble GLdouble GLdouble GLdouble top
Definition: glext.h:10859
GLdouble GLdouble right
Definition: glext.h:10859
GLint left
Definition: glext.h:7726
long x
Definition: dcommon.idl:24
Definition: dcommon.idl:28
long bottom
Definition: dcommon.idl:29