]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.42.0/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / vendor / windows-sys-0.42.0 / src / Windows / Win32 / Graphics / Direct2D / Common / mod.rs
1 pub type ID2D1SimplifiedGeometrySink = *mut ::core::ffi::c_void;
2 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
3 pub type D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = u32;
4 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
5 pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = 0u32;
6 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
7 pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_LINEAR: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = 1u32;
8 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
9 pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_CUBIC: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = 2u32;
10 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
11 pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = 3u32;
12 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
13 pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_ANISOTROPIC: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = 4u32;
14 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
15 pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = 5u32;
16 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
17 pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_FORCE_DWORD: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = 4294967295u32;
18 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
19 pub type D2D1_ALPHA_MODE = u32;
20 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
21 pub const D2D1_ALPHA_MODE_UNKNOWN: D2D1_ALPHA_MODE = 0u32;
22 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
23 pub const D2D1_ALPHA_MODE_PREMULTIPLIED: D2D1_ALPHA_MODE = 1u32;
24 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
25 pub const D2D1_ALPHA_MODE_STRAIGHT: D2D1_ALPHA_MODE = 2u32;
26 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
27 pub const D2D1_ALPHA_MODE_IGNORE: D2D1_ALPHA_MODE = 3u32;
28 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
29 pub const D2D1_ALPHA_MODE_FORCE_DWORD: D2D1_ALPHA_MODE = 4294967295u32;
30 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
31 pub type D2D1_BLEND_MODE = u32;
32 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
33 pub const D2D1_BLEND_MODE_MULTIPLY: D2D1_BLEND_MODE = 0u32;
34 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
35 pub const D2D1_BLEND_MODE_SCREEN: D2D1_BLEND_MODE = 1u32;
36 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
37 pub const D2D1_BLEND_MODE_DARKEN: D2D1_BLEND_MODE = 2u32;
38 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
39 pub const D2D1_BLEND_MODE_LIGHTEN: D2D1_BLEND_MODE = 3u32;
40 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
41 pub const D2D1_BLEND_MODE_DISSOLVE: D2D1_BLEND_MODE = 4u32;
42 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
43 pub const D2D1_BLEND_MODE_COLOR_BURN: D2D1_BLEND_MODE = 5u32;
44 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
45 pub const D2D1_BLEND_MODE_LINEAR_BURN: D2D1_BLEND_MODE = 6u32;
46 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
47 pub const D2D1_BLEND_MODE_DARKER_COLOR: D2D1_BLEND_MODE = 7u32;
48 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
49 pub const D2D1_BLEND_MODE_LIGHTER_COLOR: D2D1_BLEND_MODE = 8u32;
50 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
51 pub const D2D1_BLEND_MODE_COLOR_DODGE: D2D1_BLEND_MODE = 9u32;
52 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
53 pub const D2D1_BLEND_MODE_LINEAR_DODGE: D2D1_BLEND_MODE = 10u32;
54 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
55 pub const D2D1_BLEND_MODE_OVERLAY: D2D1_BLEND_MODE = 11u32;
56 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
57 pub const D2D1_BLEND_MODE_SOFT_LIGHT: D2D1_BLEND_MODE = 12u32;
58 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
59 pub const D2D1_BLEND_MODE_HARD_LIGHT: D2D1_BLEND_MODE = 13u32;
60 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
61 pub const D2D1_BLEND_MODE_VIVID_LIGHT: D2D1_BLEND_MODE = 14u32;
62 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
63 pub const D2D1_BLEND_MODE_LINEAR_LIGHT: D2D1_BLEND_MODE = 15u32;
64 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
65 pub const D2D1_BLEND_MODE_PIN_LIGHT: D2D1_BLEND_MODE = 16u32;
66 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
67 pub const D2D1_BLEND_MODE_HARD_MIX: D2D1_BLEND_MODE = 17u32;
68 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
69 pub const D2D1_BLEND_MODE_DIFFERENCE: D2D1_BLEND_MODE = 18u32;
70 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
71 pub const D2D1_BLEND_MODE_EXCLUSION: D2D1_BLEND_MODE = 19u32;
72 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
73 pub const D2D1_BLEND_MODE_HUE: D2D1_BLEND_MODE = 20u32;
74 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
75 pub const D2D1_BLEND_MODE_SATURATION: D2D1_BLEND_MODE = 21u32;
76 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
77 pub const D2D1_BLEND_MODE_COLOR: D2D1_BLEND_MODE = 22u32;
78 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
79 pub const D2D1_BLEND_MODE_LUMINOSITY: D2D1_BLEND_MODE = 23u32;
80 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
81 pub const D2D1_BLEND_MODE_SUBTRACT: D2D1_BLEND_MODE = 24u32;
82 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
83 pub const D2D1_BLEND_MODE_DIVISION: D2D1_BLEND_MODE = 25u32;
84 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
85 pub const D2D1_BLEND_MODE_FORCE_DWORD: D2D1_BLEND_MODE = 4294967295u32;
86 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
87 pub type D2D1_BORDER_MODE = u32;
88 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
89 pub const D2D1_BORDER_MODE_SOFT: D2D1_BORDER_MODE = 0u32;
90 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
91 pub const D2D1_BORDER_MODE_HARD: D2D1_BORDER_MODE = 1u32;
92 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
93 pub const D2D1_BORDER_MODE_FORCE_DWORD: D2D1_BORDER_MODE = 4294967295u32;
94 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
95 pub type D2D1_COLORMATRIX_ALPHA_MODE = u32;
96 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
97 pub const D2D1_COLORMATRIX_ALPHA_MODE_PREMULTIPLIED: D2D1_COLORMATRIX_ALPHA_MODE = 1u32;
98 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
99 pub const D2D1_COLORMATRIX_ALPHA_MODE_STRAIGHT: D2D1_COLORMATRIX_ALPHA_MODE = 2u32;
100 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
101 pub const D2D1_COLORMATRIX_ALPHA_MODE_FORCE_DWORD: D2D1_COLORMATRIX_ALPHA_MODE = 4294967295u32;
102 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
103 pub type D2D1_COMPOSITE_MODE = u32;
104 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
105 pub const D2D1_COMPOSITE_MODE_SOURCE_OVER: D2D1_COMPOSITE_MODE = 0u32;
106 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
107 pub const D2D1_COMPOSITE_MODE_DESTINATION_OVER: D2D1_COMPOSITE_MODE = 1u32;
108 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
109 pub const D2D1_COMPOSITE_MODE_SOURCE_IN: D2D1_COMPOSITE_MODE = 2u32;
110 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
111 pub const D2D1_COMPOSITE_MODE_DESTINATION_IN: D2D1_COMPOSITE_MODE = 3u32;
112 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
113 pub const D2D1_COMPOSITE_MODE_SOURCE_OUT: D2D1_COMPOSITE_MODE = 4u32;
114 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
115 pub const D2D1_COMPOSITE_MODE_DESTINATION_OUT: D2D1_COMPOSITE_MODE = 5u32;
116 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
117 pub const D2D1_COMPOSITE_MODE_SOURCE_ATOP: D2D1_COMPOSITE_MODE = 6u32;
118 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
119 pub const D2D1_COMPOSITE_MODE_DESTINATION_ATOP: D2D1_COMPOSITE_MODE = 7u32;
120 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
121 pub const D2D1_COMPOSITE_MODE_XOR: D2D1_COMPOSITE_MODE = 8u32;
122 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
123 pub const D2D1_COMPOSITE_MODE_PLUS: D2D1_COMPOSITE_MODE = 9u32;
124 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
125 pub const D2D1_COMPOSITE_MODE_SOURCE_COPY: D2D1_COMPOSITE_MODE = 10u32;
126 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
127 pub const D2D1_COMPOSITE_MODE_BOUNDED_SOURCE_COPY: D2D1_COMPOSITE_MODE = 11u32;
128 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
129 pub const D2D1_COMPOSITE_MODE_MASK_INVERT: D2D1_COMPOSITE_MODE = 12u32;
130 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
131 pub const D2D1_COMPOSITE_MODE_FORCE_DWORD: D2D1_COMPOSITE_MODE = 4294967295u32;
132 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
133 pub type D2D1_FIGURE_BEGIN = u32;
134 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
135 pub const D2D1_FIGURE_BEGIN_FILLED: D2D1_FIGURE_BEGIN = 0u32;
136 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
137 pub const D2D1_FIGURE_BEGIN_HOLLOW: D2D1_FIGURE_BEGIN = 1u32;
138 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
139 pub const D2D1_FIGURE_BEGIN_FORCE_DWORD: D2D1_FIGURE_BEGIN = 4294967295u32;
140 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
141 pub type D2D1_FIGURE_END = u32;
142 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
143 pub const D2D1_FIGURE_END_OPEN: D2D1_FIGURE_END = 0u32;
144 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
145 pub const D2D1_FIGURE_END_CLOSED: D2D1_FIGURE_END = 1u32;
146 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
147 pub const D2D1_FIGURE_END_FORCE_DWORD: D2D1_FIGURE_END = 4294967295u32;
148 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
149 pub type D2D1_FILL_MODE = u32;
150 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
151 pub const D2D1_FILL_MODE_ALTERNATE: D2D1_FILL_MODE = 0u32;
152 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
153 pub const D2D1_FILL_MODE_WINDING: D2D1_FILL_MODE = 1u32;
154 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
155 pub const D2D1_FILL_MODE_FORCE_DWORD: D2D1_FILL_MODE = 4294967295u32;
156 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
157 pub type D2D1_PATH_SEGMENT = u32;
158 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
159 pub const D2D1_PATH_SEGMENT_NONE: D2D1_PATH_SEGMENT = 0u32;
160 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
161 pub const D2D1_PATH_SEGMENT_FORCE_UNSTROKED: D2D1_PATH_SEGMENT = 1u32;
162 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
163 pub const D2D1_PATH_SEGMENT_FORCE_ROUND_LINE_JOIN: D2D1_PATH_SEGMENT = 2u32;
164 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
165 pub const D2D1_PATH_SEGMENT_FORCE_DWORD: D2D1_PATH_SEGMENT = 4294967295u32;
166 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
167 pub type D2D1_TURBULENCE_NOISE = u32;
168 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
169 pub const D2D1_TURBULENCE_NOISE_FRACTAL_SUM: D2D1_TURBULENCE_NOISE = 0u32;
170 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
171 pub const D2D1_TURBULENCE_NOISE_TURBULENCE: D2D1_TURBULENCE_NOISE = 1u32;
172 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
173 pub const D2D1_TURBULENCE_NOISE_FORCE_DWORD: D2D1_TURBULENCE_NOISE = 4294967295u32;
174 #[repr(C)]
175 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
176 pub struct D2D1_BEZIER_SEGMENT {
177 pub point1: D2D_POINT_2F,
178 pub point2: D2D_POINT_2F,
179 pub point3: D2D_POINT_2F,
180 }
181 impl ::core::marker::Copy for D2D1_BEZIER_SEGMENT {}
182 impl ::core::clone::Clone for D2D1_BEZIER_SEGMENT {
183 fn clone(&self) -> Self {
184 *self
185 }
186 }
187 #[repr(C)]
188 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
189 pub struct D2D1_COLOR_F {
190 pub r: f32,
191 pub g: f32,
192 pub b: f32,
193 pub a: f32,
194 }
195 impl ::core::marker::Copy for D2D1_COLOR_F {}
196 impl ::core::clone::Clone for D2D1_COLOR_F {
197 fn clone(&self) -> Self {
198 *self
199 }
200 }
201 #[repr(C)]
202 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"]
203 #[cfg(feature = "Win32_Graphics_Dxgi_Common")]
204 pub struct D2D1_PIXEL_FORMAT {
205 pub format: super::super::Dxgi::Common::DXGI_FORMAT,
206 pub alphaMode: D2D1_ALPHA_MODE,
207 }
208 #[cfg(feature = "Win32_Graphics_Dxgi_Common")]
209 impl ::core::marker::Copy for D2D1_PIXEL_FORMAT {}
210 #[cfg(feature = "Win32_Graphics_Dxgi_Common")]
211 impl ::core::clone::Clone for D2D1_PIXEL_FORMAT {
212 fn clone(&self) -> Self {
213 *self
214 }
215 }
216 #[repr(C)]
217 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
218 pub struct D2D_COLOR_F {
219 pub r: f32,
220 pub g: f32,
221 pub b: f32,
222 pub a: f32,
223 }
224 impl ::core::marker::Copy for D2D_COLOR_F {}
225 impl ::core::clone::Clone for D2D_COLOR_F {
226 fn clone(&self) -> Self {
227 *self
228 }
229 }
230 #[repr(C)]
231 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
232 pub struct D2D_MATRIX_3X2_F {
233 pub Anonymous: D2D_MATRIX_3X2_F_0,
234 }
235 impl ::core::marker::Copy for D2D_MATRIX_3X2_F {}
236 impl ::core::clone::Clone for D2D_MATRIX_3X2_F {
237 fn clone(&self) -> Self {
238 *self
239 }
240 }
241 #[repr(C)]
242 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
243 pub union D2D_MATRIX_3X2_F_0 {
244 pub Anonymous1: D2D_MATRIX_3X2_F_0_0,
245 pub Anonymous2: D2D_MATRIX_3X2_F_0_1,
246 pub m: [f32; 6],
247 }
248 impl ::core::marker::Copy for D2D_MATRIX_3X2_F_0 {}
249 impl ::core::clone::Clone for D2D_MATRIX_3X2_F_0 {
250 fn clone(&self) -> Self {
251 *self
252 }
253 }
254 #[repr(C)]
255 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
256 pub struct D2D_MATRIX_3X2_F_0_0 {
257 pub m11: f32,
258 pub m12: f32,
259 pub m21: f32,
260 pub m22: f32,
261 pub dx: f32,
262 pub dy: f32,
263 }
264 impl ::core::marker::Copy for D2D_MATRIX_3X2_F_0_0 {}
265 impl ::core::clone::Clone for D2D_MATRIX_3X2_F_0_0 {
266 fn clone(&self) -> Self {
267 *self
268 }
269 }
270 #[repr(C)]
271 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
272 pub struct D2D_MATRIX_3X2_F_0_1 {
273 pub _11: f32,
274 pub _12: f32,
275 pub _21: f32,
276 pub _22: f32,
277 pub _31: f32,
278 pub _32: f32,
279 }
280 impl ::core::marker::Copy for D2D_MATRIX_3X2_F_0_1 {}
281 impl ::core::clone::Clone for D2D_MATRIX_3X2_F_0_1 {
282 fn clone(&self) -> Self {
283 *self
284 }
285 }
286 #[repr(C)]
287 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
288 pub struct D2D_MATRIX_4X3_F {
289 pub Anonymous: D2D_MATRIX_4X3_F_0,
290 }
291 impl ::core::marker::Copy for D2D_MATRIX_4X3_F {}
292 impl ::core::clone::Clone for D2D_MATRIX_4X3_F {
293 fn clone(&self) -> Self {
294 *self
295 }
296 }
297 #[repr(C)]
298 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
299 pub union D2D_MATRIX_4X3_F_0 {
300 pub Anonymous: D2D_MATRIX_4X3_F_0_0,
301 pub m: [f32; 12],
302 }
303 impl ::core::marker::Copy for D2D_MATRIX_4X3_F_0 {}
304 impl ::core::clone::Clone for D2D_MATRIX_4X3_F_0 {
305 fn clone(&self) -> Self {
306 *self
307 }
308 }
309 #[repr(C)]
310 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
311 pub struct D2D_MATRIX_4X3_F_0_0 {
312 pub _11: f32,
313 pub _12: f32,
314 pub _13: f32,
315 pub _21: f32,
316 pub _22: f32,
317 pub _23: f32,
318 pub _31: f32,
319 pub _32: f32,
320 pub _33: f32,
321 pub _41: f32,
322 pub _42: f32,
323 pub _43: f32,
324 }
325 impl ::core::marker::Copy for D2D_MATRIX_4X3_F_0_0 {}
326 impl ::core::clone::Clone for D2D_MATRIX_4X3_F_0_0 {
327 fn clone(&self) -> Self {
328 *self
329 }
330 }
331 #[repr(C)]
332 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
333 pub struct D2D_MATRIX_4X4_F {
334 pub Anonymous: D2D_MATRIX_4X4_F_0,
335 }
336 impl ::core::marker::Copy for D2D_MATRIX_4X4_F {}
337 impl ::core::clone::Clone for D2D_MATRIX_4X4_F {
338 fn clone(&self) -> Self {
339 *self
340 }
341 }
342 #[repr(C)]
343 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
344 pub union D2D_MATRIX_4X4_F_0 {
345 pub Anonymous: D2D_MATRIX_4X4_F_0_0,
346 pub m: [f32; 16],
347 }
348 impl ::core::marker::Copy for D2D_MATRIX_4X4_F_0 {}
349 impl ::core::clone::Clone for D2D_MATRIX_4X4_F_0 {
350 fn clone(&self) -> Self {
351 *self
352 }
353 }
354 #[repr(C)]
355 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
356 pub struct D2D_MATRIX_4X4_F_0_0 {
357 pub _11: f32,
358 pub _12: f32,
359 pub _13: f32,
360 pub _14: f32,
361 pub _21: f32,
362 pub _22: f32,
363 pub _23: f32,
364 pub _24: f32,
365 pub _31: f32,
366 pub _32: f32,
367 pub _33: f32,
368 pub _34: f32,
369 pub _41: f32,
370 pub _42: f32,
371 pub _43: f32,
372 pub _44: f32,
373 }
374 impl ::core::marker::Copy for D2D_MATRIX_4X4_F_0_0 {}
375 impl ::core::clone::Clone for D2D_MATRIX_4X4_F_0_0 {
376 fn clone(&self) -> Self {
377 *self
378 }
379 }
380 #[repr(C)]
381 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
382 pub struct D2D_MATRIX_5X4_F {
383 pub Anonymous: D2D_MATRIX_5X4_F_0,
384 }
385 impl ::core::marker::Copy for D2D_MATRIX_5X4_F {}
386 impl ::core::clone::Clone for D2D_MATRIX_5X4_F {
387 fn clone(&self) -> Self {
388 *self
389 }
390 }
391 #[repr(C)]
392 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
393 pub union D2D_MATRIX_5X4_F_0 {
394 pub Anonymous: D2D_MATRIX_5X4_F_0_0,
395 pub m: [f32; 20],
396 }
397 impl ::core::marker::Copy for D2D_MATRIX_5X4_F_0 {}
398 impl ::core::clone::Clone for D2D_MATRIX_5X4_F_0 {
399 fn clone(&self) -> Self {
400 *self
401 }
402 }
403 #[repr(C)]
404 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
405 pub struct D2D_MATRIX_5X4_F_0_0 {
406 pub _11: f32,
407 pub _12: f32,
408 pub _13: f32,
409 pub _14: f32,
410 pub _21: f32,
411 pub _22: f32,
412 pub _23: f32,
413 pub _24: f32,
414 pub _31: f32,
415 pub _32: f32,
416 pub _33: f32,
417 pub _34: f32,
418 pub _41: f32,
419 pub _42: f32,
420 pub _43: f32,
421 pub _44: f32,
422 pub _51: f32,
423 pub _52: f32,
424 pub _53: f32,
425 pub _54: f32,
426 }
427 impl ::core::marker::Copy for D2D_MATRIX_5X4_F_0_0 {}
428 impl ::core::clone::Clone for D2D_MATRIX_5X4_F_0_0 {
429 fn clone(&self) -> Self {
430 *self
431 }
432 }
433 #[repr(C)]
434 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
435 pub struct D2D_POINT_2F {
436 pub x: f32,
437 pub y: f32,
438 }
439 impl ::core::marker::Copy for D2D_POINT_2F {}
440 impl ::core::clone::Clone for D2D_POINT_2F {
441 fn clone(&self) -> Self {
442 *self
443 }
444 }
445 #[repr(C)]
446 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
447 pub struct D2D_POINT_2U {
448 pub x: u32,
449 pub y: u32,
450 }
451 impl ::core::marker::Copy for D2D_POINT_2U {}
452 impl ::core::clone::Clone for D2D_POINT_2U {
453 fn clone(&self) -> Self {
454 *self
455 }
456 }
457 #[repr(C)]
458 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
459 pub struct D2D_RECT_F {
460 pub left: f32,
461 pub top: f32,
462 pub right: f32,
463 pub bottom: f32,
464 }
465 impl ::core::marker::Copy for D2D_RECT_F {}
466 impl ::core::clone::Clone for D2D_RECT_F {
467 fn clone(&self) -> Self {
468 *self
469 }
470 }
471 #[repr(C)]
472 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
473 pub struct D2D_RECT_U {
474 pub left: u32,
475 pub top: u32,
476 pub right: u32,
477 pub bottom: u32,
478 }
479 impl ::core::marker::Copy for D2D_RECT_U {}
480 impl ::core::clone::Clone for D2D_RECT_U {
481 fn clone(&self) -> Self {
482 *self
483 }
484 }
485 #[repr(C)]
486 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
487 pub struct D2D_SIZE_F {
488 pub width: f32,
489 pub height: f32,
490 }
491 impl ::core::marker::Copy for D2D_SIZE_F {}
492 impl ::core::clone::Clone for D2D_SIZE_F {
493 fn clone(&self) -> Self {
494 *self
495 }
496 }
497 #[repr(C)]
498 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
499 pub struct D2D_SIZE_U {
500 pub width: u32,
501 pub height: u32,
502 }
503 impl ::core::marker::Copy for D2D_SIZE_U {}
504 impl ::core::clone::Clone for D2D_SIZE_U {
505 fn clone(&self) -> Self {
506 *self
507 }
508 }
509 #[repr(C)]
510 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
511 pub struct D2D_VECTOR_2F {
512 pub x: f32,
513 pub y: f32,
514 }
515 impl ::core::marker::Copy for D2D_VECTOR_2F {}
516 impl ::core::clone::Clone for D2D_VECTOR_2F {
517 fn clone(&self) -> Self {
518 *self
519 }
520 }
521 #[repr(C)]
522 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
523 pub struct D2D_VECTOR_3F {
524 pub x: f32,
525 pub y: f32,
526 pub z: f32,
527 }
528 impl ::core::marker::Copy for D2D_VECTOR_3F {}
529 impl ::core::clone::Clone for D2D_VECTOR_3F {
530 fn clone(&self) -> Self {
531 *self
532 }
533 }
534 #[repr(C)]
535 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
536 pub struct D2D_VECTOR_4F {
537 pub x: f32,
538 pub y: f32,
539 pub z: f32,
540 pub w: f32,
541 }
542 impl ::core::marker::Copy for D2D_VECTOR_4F {}
543 impl ::core::clone::Clone for D2D_VECTOR_4F {
544 fn clone(&self) -> Self {
545 *self
546 }
547 }