1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
3 pub mod Common;
4 #[link(name = "windows")]
5 extern "system" {
6     #[cfg(feature = "Foundation_Numerics")]
D2D1ComputeMaximumScaleFactor(matrix: *const super::super::super::Foundation::Numerics::Matrix3x2) -> f327     pub fn D2D1ComputeMaximumScaleFactor(matrix: *const super::super::super::Foundation::Numerics::Matrix3x2) -> f32;
8     #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
D2D1ConvertColorSpace(sourcecolorspace: D2D1_COLOR_SPACE, destinationcolorspace: D2D1_COLOR_SPACE, color: *const Common::D2D1_COLOR_F) -> Common::D2D1_COLOR_F9     pub fn D2D1ConvertColorSpace(sourcecolorspace: D2D1_COLOR_SPACE, destinationcolorspace: D2D1_COLOR_SPACE, color: *const Common::D2D1_COLOR_F) -> Common::D2D1_COLOR_F;
10     #[cfg(feature = "Win32_Graphics_Dxgi")]
D2D1CreateDevice(dxgidevice: super::Dxgi::IDXGIDevice, creationproperties: *const D2D1_CREATION_PROPERTIES, d2ddevice: *mut ID2D1Device) -> ::windows_sys::core::HRESULT11     pub fn D2D1CreateDevice(dxgidevice: super::Dxgi::IDXGIDevice, creationproperties: *const D2D1_CREATION_PROPERTIES, d2ddevice: *mut ID2D1Device) -> ::windows_sys::core::HRESULT;
12     #[cfg(feature = "Win32_Graphics_Dxgi")]
D2D1CreateDeviceContext(dxgisurface: super::Dxgi::IDXGISurface, creationproperties: *const D2D1_CREATION_PROPERTIES, d2ddevicecontext: *mut ID2D1DeviceContext) -> ::windows_sys::core::HRESULT13     pub fn D2D1CreateDeviceContext(dxgisurface: super::Dxgi::IDXGISurface, creationproperties: *const D2D1_CREATION_PROPERTIES, d2ddevicecontext: *mut ID2D1DeviceContext) -> ::windows_sys::core::HRESULT;
D2D1CreateFactory(factorytype: D2D1_FACTORY_TYPE, riid: *const ::windows_sys::core::GUID, pfactoryoptions: *const D2D1_FACTORY_OPTIONS, ppifactory: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT14     pub fn D2D1CreateFactory(factorytype: D2D1_FACTORY_TYPE, riid: *const ::windows_sys::core::GUID, pfactoryoptions: *const D2D1_FACTORY_OPTIONS, ppifactory: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
15     #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
D2D1GetGradientMeshInteriorPointsFromCoonsPatch( ppoint0: *const Common::D2D_POINT_2F, ppoint1: *const Common::D2D_POINT_2F, ppoint2: *const Common::D2D_POINT_2F, ppoint3: *const Common::D2D_POINT_2F, ppoint4: *const Common::D2D_POINT_2F, ppoint5: *const Common::D2D_POINT_2F, ppoint6: *const Common::D2D_POINT_2F, ppoint7: *const Common::D2D_POINT_2F, ppoint8: *const Common::D2D_POINT_2F, ppoint9: *const Common::D2D_POINT_2F, ppoint10: *const Common::D2D_POINT_2F, ppoint11: *const Common::D2D_POINT_2F, ptensorpoint11: *mut Common::D2D_POINT_2F, ptensorpoint12: *mut Common::D2D_POINT_2F, ptensorpoint21: *mut Common::D2D_POINT_2F, ptensorpoint22: *mut Common::D2D_POINT_2F, )16     pub fn D2D1GetGradientMeshInteriorPointsFromCoonsPatch(
17         ppoint0: *const Common::D2D_POINT_2F,
18         ppoint1: *const Common::D2D_POINT_2F,
19         ppoint2: *const Common::D2D_POINT_2F,
20         ppoint3: *const Common::D2D_POINT_2F,
21         ppoint4: *const Common::D2D_POINT_2F,
22         ppoint5: *const Common::D2D_POINT_2F,
23         ppoint6: *const Common::D2D_POINT_2F,
24         ppoint7: *const Common::D2D_POINT_2F,
25         ppoint8: *const Common::D2D_POINT_2F,
26         ppoint9: *const Common::D2D_POINT_2F,
27         ppoint10: *const Common::D2D_POINT_2F,
28         ppoint11: *const Common::D2D_POINT_2F,
29         ptensorpoint11: *mut Common::D2D_POINT_2F,
30         ptensorpoint12: *mut Common::D2D_POINT_2F,
31         ptensorpoint21: *mut Common::D2D_POINT_2F,
32         ptensorpoint22: *mut Common::D2D_POINT_2F,
33     );
34     #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation"))]
D2D1InvertMatrix(matrix: *mut super::super::super::Foundation::Numerics::Matrix3x2) -> super::super::Foundation::BOOL35     pub fn D2D1InvertMatrix(matrix: *mut super::super::super::Foundation::Numerics::Matrix3x2) -> super::super::Foundation::BOOL;
36     #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Foundation"))]
D2D1IsMatrixInvertible(matrix: *const super::super::super::Foundation::Numerics::Matrix3x2) -> super::super::Foundation::BOOL37     pub fn D2D1IsMatrixInvertible(matrix: *const super::super::super::Foundation::Numerics::Matrix3x2) -> super::super::Foundation::BOOL;
38     #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))]
D2D1MakeRotateMatrix(angle: f32, center: Common::D2D_POINT_2F, matrix: *mut super::super::super::Foundation::Numerics::Matrix3x2)39     pub fn D2D1MakeRotateMatrix(angle: f32, center: Common::D2D_POINT_2F, matrix: *mut super::super::super::Foundation::Numerics::Matrix3x2);
40     #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))]
D2D1MakeSkewMatrix(anglex: f32, angley: f32, center: Common::D2D_POINT_2F, matrix: *mut super::super::super::Foundation::Numerics::Matrix3x2)41     pub fn D2D1MakeSkewMatrix(anglex: f32, angley: f32, center: Common::D2D_POINT_2F, matrix: *mut super::super::super::Foundation::Numerics::Matrix3x2);
D2D1SinCos(angle: f32, s: *mut f32, c: *mut f32)42     pub fn D2D1SinCos(angle: f32, s: *mut f32, c: *mut f32);
D2D1Tan(angle: f32) -> f3243     pub fn D2D1Tan(angle: f32) -> f32;
D2D1Vec3Length(x: f32, y: f32, z: f32) -> f3244     pub fn D2D1Vec3Length(x: f32, y: f32, z: f32) -> f32;
45 }
46 pub const CLSID_D2D12DAffineTransform: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
47     data1: 1789490309,
48     data2: 25428,
49     data3: 19708,
50     data4: [144, 140, 228, 167, 79, 98, 201, 108],
51 };
52 pub const CLSID_D2D13DPerspectiveTransform: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
53     data1: 3263450379,
54     data2: 15750,
55     data3: 18151,
56     data4: [133, 186, 82, 108, 146, 64, 243, 251],
57 };
58 pub const CLSID_D2D13DTransform: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
59     data1: 3896933124,
60     data2: 60513,
61     data3: 19338,
62     data4: [181, 222, 212, 215, 61, 235, 234, 90],
63 };
64 pub const CLSID_D2D1AlphaMask: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3356413936, data2: 16341, data3: 20229, data4: [131, 40, 197, 209, 114, 75, 79, 10] };
65 pub const CLSID_D2D1ArithmeticComposite: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4229239863, data2: 1178, data3: 18308, data4: [162, 74, 241, 196, 218, 242, 9, 135] };
66 pub const CLSID_D2D1Atlas: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2436770788, data2: 64975, data3: 20450, data4: [165, 240, 36, 84, 241, 79, 244, 8] };
67 pub const CLSID_D2D1BitmapSource: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1605812813, data2: 50909, data3: 16945, data4: [148, 4, 80, 244, 213, 195, 37, 45] };
68 pub const CLSID_D2D1Blend: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2177218427, data2: 5112, data3: 19677, data4: [173, 32, 200, 144, 84, 122, 198, 93] };
69 pub const CLSID_D2D1Border: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 707611072, data2: 19151, data3: 17351, data4: [140, 106, 124, 74, 39, 135, 77, 39] };
70 pub const CLSID_D2D1Brightness: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
71     data1: 2364181790,
72     data2: 30640,
73     data3: 18822,
74     data4: [179, 185, 47, 12, 14, 174, 120, 135],
75 };
76 pub const CLSID_D2D1ChromaKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
77     data1: 1958747995,
78     data2: 10765,
79     data3: 16524,
80     data4: [136, 226, 199, 163, 199, 25, 119, 66],
81 };
82 pub const CLSID_D2D1ColorManagement: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
83     data1: 438850124,
84     data2: 64982,
85     data3: 19108,
86     data4: [174, 143, 131, 126, 184, 38, 123, 55],
87 };
88 pub const CLSID_D2D1ColorMatrix: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2451506134, data2: 25628, data3: 18399, data4: [133, 45, 180, 187, 97, 83, 174, 17] };
89 pub const CLSID_D2D1Composite: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1224515409, data2: 63148, data3: 18673, data4: [139, 88, 59, 40, 172, 70, 247, 109] };
90 pub const CLSID_D2D1Contrast: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
91     data1: 3058214794,
92     data2: 3797,
93     data3: 20352,
94     data4: [169, 74, 142, 130, 90, 202, 107, 119],
95 };
96 pub const CLSID_D2D1ConvolveMatrix: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1082100744, data2: 21811, data3: 17201, data4: [163, 65, 35, 204, 56, 119, 132, 62] };
97 pub const CLSID_D2D1Crop: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3795808528, data2: 3738, data3: 17188, data4: [175, 71, 106, 44, 12, 70, 243, 91] };
98 pub const CLSID_D2D1CrossFade: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
99     data1: 318076392,
100     data2: 19889,
101     data3: 18527,
102     data4: [154, 132, 3, 160, 125, 211, 130, 159],
103 };
104 pub const CLSID_D2D1DirectionalBlur: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
105     data1: 390273446,
106     data2: 22761,
107     data3: 18866,
108     data4: [187, 99, 202, 242, 200, 17, 163, 219],
109 };
110 pub const CLSID_D2D1DiscreteTransfer: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2424729549, data2: 18574, data3: 17739, data4: [175, 6, 229, 4, 27, 102, 195, 108] };
111 pub const CLSID_D2D1DisplacementMap: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3989078884, data2: 1047, data3: 16657, data4: [148, 80, 67, 132, 95, 169, 248, 144] };
112 pub const CLSID_D2D1DistantDiffuse: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
113     data1: 1048509794,
114     data2: 41773,
115     data3: 18132,
116     data4: [168, 60, 82, 120, 136, 154, 201, 84],
117 };
118 pub const CLSID_D2D1DistantSpecular: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
119     data1: 1116479205,
120     data2: 30648,
121     data3: 17488,
122     data4: [138, 181, 114, 33, 156, 33, 171, 218],
123 };
124 pub const CLSID_D2D1DpiCompensation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1814480327, data2: 13536, data3: 18172, data4: [156, 253, 229, 130, 55, 6, 226, 40] };
125 pub const CLSID_D2D1EdgeDetection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4025844682, data2: 51975, data3: 19113, data4: [172, 93, 44, 196, 76, 118, 70, 15] };
126 pub const CLSID_D2D1Emboss: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2982538027, data2: 840, data3: 17392, data4: [129, 7, 73, 87, 202, 203, 162, 174] };
127 pub const CLSID_D2D1Exposure: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3043790074, data2: 63028, data3: 16878, data4: [190, 224, 255, 166, 23, 16, 96, 4] };
128 pub const CLSID_D2D1Flood: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1640119328, data2: 44649, data3: 19854, data4: [148, 207, 80, 7, 141, 246, 56, 242] };
129 pub const CLSID_D2D1GammaTransfer: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
130     data1: 1083458756,
131     data2: 50201,
132     data3: 16800,
133     data4: [176, 193, 140, 208, 192, 161, 142, 66],
134 };
135 pub const CLSID_D2D1GaussianBlur: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
136     data1: 535522665,
137     data2: 12262,
138     data3: 19145,
139     data4: [140, 88, 29, 127, 147, 231, 166, 165],
140 };
141 pub const CLSID_D2D1Grayscale: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 920510699, data2: 14117, data3: 17120, data4: [131, 109, 82, 251, 32, 174, 230, 68] };
142 pub const CLSID_D2D1HdrToneMap: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2064348301, data2: 17936, data3: 17542, data4: [169, 12, 153, 157, 154, 46, 43, 17] };
143 pub const CLSID_D2D1HighlightsShadows: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3403449220, data2: 12863, data3: 19582, data4: [163, 97, 46, 43, 36, 223, 110, 228] };
144 pub const CLSID_D2D1Histogram: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
145     data1: 2283648976,
146     data2: 63470,
147     data3: 19789,
148     data4: [166, 210, 70, 151, 172, 198, 110, 232],
149 };
150 pub const CLSID_D2D1HueRotation: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
151     data1: 256137452,
152     data2: 19250,
153     data3: 18715,
154     data4: [158, 133, 189, 115, 244, 77, 62, 182],
155 };
156 pub const CLSID_D2D1HueToRgb: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2071504573, data2: 321, data3: 19951, data4: [138, 82, 99, 86, 238, 12, 189, 213] };
157 pub const CLSID_D2D1Invert: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
158     data1: 3770906701,
159     data2: 52025,
160     data3: 20100,
161     data4: [182, 253, 107, 114, 240, 129, 2, 99],
162 };
163 pub const CLSID_D2D1LinearTransfer: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2907162877, data2: 25583, data3: 19148, data4: [155, 81, 103, 151, 156, 3, 108, 6] };
164 pub const CLSID_D2D1LookupTable3D: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 882773722, data2: 136, data3: 19065, data4: [156, 163, 199, 227, 0, 32, 32, 32] };
165 pub const CLSID_D2D1LuminanceToAlpha: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
166     data1: 1092950711,
167     data2: 3051,
168     data3: 18168,
169     data4: [157, 167, 89, 233, 63, 204, 229, 222],
170 };
171 pub const CLSID_D2D1Morphology: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3940992013, data2: 25194, data3: 19501, data4: [191, 203, 57, 16, 1, 171, 226, 2] };
172 pub const CLSID_D2D1Opacity: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
173     data1: 2166192548,
174     data2: 56872,
175     data3: 17492,
176     data4: [128, 148, 198, 70, 133, 248, 189, 76],
177 };
178 pub const CLSID_D2D1OpacityMetadata: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1817378922, data2: 17488, data3: 16793, data4: [170, 91, 173, 22, 86, 254, 206, 94] };
179 pub const CLSID_D2D1PointDiffuse: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
180     data1: 3118662595,
181     data2: 49292,
182     data3: 20369,
183     data4: [139, 123, 56, 101, 107, 196, 140, 32],
184 };
185 pub const CLSID_D2D1PointSpecular: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 163826214, data2: 15074, data3: 20233, data4: [158, 188, 237, 56, 101, 213, 63, 34] };
186 pub const CLSID_D2D1Posterize: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 562599006, data2: 13219, data3: 17254, data4: [183, 188, 8, 107, 208, 45, 8, 132] };
187 pub const CLSID_D2D1Premultiply: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 116044825, data2: 57069, data3: 16408, data4: [128, 210, 62, 29, 71, 26, 222, 178] };
188 pub const CLSID_D2D1RgbToHue: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 603186668, data2: 37352, data3: 19773, data4: [173, 10, 175, 173, 193, 0, 74, 161] };
189 pub const CLSID_D2D1Saturation: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
190     data1: 1555225039,
191     data2: 12925,
192     data3: 17823,
193     data4: [160, 206, 64, 192, 178, 8, 107, 247],
194 };
195 pub const CLSID_D2D1Scale: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2645529449, data2: 14406, data3: 19726, data4: [164, 78, 12, 96, 121, 52, 165, 215] };
196 pub const CLSID_D2D1Sepia: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
197     data1: 974844944,
198     data2: 24349,
199     data3: 19902,
200     data4: [132, 223, 145, 93, 167, 155, 113, 83],
201 };
202 pub const CLSID_D2D1Shadow: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3330188129, data2: 6243, data3: 20073, data4: [137, 219, 105, 93, 62, 154, 91, 107] };
203 pub const CLSID_D2D1Sharpen: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
204     data1: 3384313803,
205     data2: 50687,
206     data3: 19909,
207     data4: [151, 121, 39, 61, 207, 65, 124, 125],
208 };
209 pub const CLSID_D2D1SpotDiffuse: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2173309189, data2: 31026, data3: 17652, data4: [170, 134, 8, 174, 123, 47, 44, 147] };
210 pub const CLSID_D2D1SpotSpecular: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
211     data1: 3987620382,
212     data2: 30292,
213     data3: 18999,
214     data4: [157, 184, 113, 172, 193, 190, 179, 193],
215 };
216 pub const CLSID_D2D1Straighten: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
217     data1: 1302625042,
218     data2: 31139,
219     data3: 20400,
220     data4: [130, 55, 187, 195, 178, 164, 222, 8],
221 };
222 pub const CLSID_D2D1TableTransfer: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
223     data1: 1542985923,
224     data2: 24131,
225     data3: 18635,
226     data4: [182, 49, 134, 131, 150, 214, 161, 212],
227 };
228 pub const CLSID_D2D1TemperatureTint: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
229     data1: 2300010631,
230     data2: 35577,
231     data3: 18952,
232     data4: [174, 177, 137, 95, 56, 219, 23, 102],
233 };
234 pub const CLSID_D2D1Tile: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2960671032, data2: 15222, data3: 19397, data4: [177, 59, 15, 162, 173, 2, 101, 159] };
235 pub const CLSID_D2D1Tint: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
236     data1: 909191959,
237     data2: 63453,
238     data3: 16404,
239     data4: [145, 93, 255, 202, 118, 140, 242, 17],
240 };
241 pub const CLSID_D2D1Turbulence: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
242     data1: 3475748526,
243     data2: 34970,
244     data3: 19159,
245     data4: [186, 41, 162, 253, 115, 44, 159, 201],
246 };
247 pub const CLSID_D2D1UnPremultiply: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
248     data1: 4221224073,
249     data2: 44429,
250     data3: 16877,
251     data4: [153, 153, 187, 99, 71, 209, 16, 247],
252 };
253 pub const CLSID_D2D1Vignette: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3222028478, data2: 24167, data3: 19619, data4: [149, 180, 244, 176, 44, 17, 81, 53] };
254 pub const CLSID_D2D1WhiteLevelAdjustment: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
255     data1: 1151453915,
256     data2: 27869,
257     data3: 18456,
258     data4: [143, 244, 38, 193, 207, 233, 91, 219],
259 };
260 pub const CLSID_D2D1YCbCr: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
261     data1: 2572172481,
262     data2: 26311,
263     data3: 17865,
264     data4: [168, 117, 138, 216, 167, 145, 68, 1],
265 };
266 pub type D2D1_2DAFFINETRANSFORM_PROP = u32;
267 pub const D2D1_2DAFFINETRANSFORM_PROP_INTERPOLATION_MODE: D2D1_2DAFFINETRANSFORM_PROP = 0u32;
268 pub const D2D1_2DAFFINETRANSFORM_PROP_BORDER_MODE: D2D1_2DAFFINETRANSFORM_PROP = 1u32;
269 pub const D2D1_2DAFFINETRANSFORM_PROP_TRANSFORM_MATRIX: D2D1_2DAFFINETRANSFORM_PROP = 2u32;
270 pub const D2D1_2DAFFINETRANSFORM_PROP_SHARPNESS: D2D1_2DAFFINETRANSFORM_PROP = 3u32;
271 pub const D2D1_2DAFFINETRANSFORM_PROP_FORCE_DWORD: D2D1_2DAFFINETRANSFORM_PROP = 4294967295u32;
272 pub type D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = u32;
273 pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = 0u32;
274 pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_LINEAR: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = 1u32;
275 pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_CUBIC: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = 2u32;
276 pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = 3u32;
277 pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_ANISOTROPIC: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = 4u32;
278 pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_FORCE_DWORD: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = 4294967295u32;
279 pub type D2D1_3DPERSPECTIVETRANSFORM_PROP = u32;
280 pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_INTERPOLATION_MODE: D2D1_3DPERSPECTIVETRANSFORM_PROP = 0u32;
281 pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_BORDER_MODE: D2D1_3DPERSPECTIVETRANSFORM_PROP = 1u32;
282 pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_DEPTH: D2D1_3DPERSPECTIVETRANSFORM_PROP = 2u32;
283 pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_PERSPECTIVE_ORIGIN: D2D1_3DPERSPECTIVETRANSFORM_PROP = 3u32;
284 pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_LOCAL_OFFSET: D2D1_3DPERSPECTIVETRANSFORM_PROP = 4u32;
285 pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_GLOBAL_OFFSET: D2D1_3DPERSPECTIVETRANSFORM_PROP = 5u32;
286 pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION_ORIGIN: D2D1_3DPERSPECTIVETRANSFORM_PROP = 6u32;
287 pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION: D2D1_3DPERSPECTIVETRANSFORM_PROP = 7u32;
288 pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_FORCE_DWORD: D2D1_3DPERSPECTIVETRANSFORM_PROP = 4294967295u32;
289 pub type D2D1_3DTRANSFORM_INTERPOLATION_MODE = u32;
290 pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_3DTRANSFORM_INTERPOLATION_MODE = 0u32;
291 pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_LINEAR: D2D1_3DTRANSFORM_INTERPOLATION_MODE = 1u32;
292 pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_CUBIC: D2D1_3DTRANSFORM_INTERPOLATION_MODE = 2u32;
293 pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_3DTRANSFORM_INTERPOLATION_MODE = 3u32;
294 pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_ANISOTROPIC: D2D1_3DTRANSFORM_INTERPOLATION_MODE = 4u32;
295 pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_FORCE_DWORD: D2D1_3DTRANSFORM_INTERPOLATION_MODE = 4294967295u32;
296 pub type D2D1_3DTRANSFORM_PROP = u32;
297 pub const D2D1_3DTRANSFORM_PROP_INTERPOLATION_MODE: D2D1_3DTRANSFORM_PROP = 0u32;
298 pub const D2D1_3DTRANSFORM_PROP_BORDER_MODE: D2D1_3DTRANSFORM_PROP = 1u32;
299 pub const D2D1_3DTRANSFORM_PROP_TRANSFORM_MATRIX: D2D1_3DTRANSFORM_PROP = 2u32;
300 pub const D2D1_3DTRANSFORM_PROP_FORCE_DWORD: D2D1_3DTRANSFORM_PROP = 4294967295u32;
301 pub type D2D1_ANTIALIAS_MODE = u32;
302 pub const D2D1_ANTIALIAS_MODE_PER_PRIMITIVE: D2D1_ANTIALIAS_MODE = 0u32;
303 pub const D2D1_ANTIALIAS_MODE_ALIASED: D2D1_ANTIALIAS_MODE = 1u32;
304 pub const D2D1_ANTIALIAS_MODE_FORCE_DWORD: D2D1_ANTIALIAS_MODE = 4294967295u32;
305 pub const D2D1_APPEND_ALIGNED_ELEMENT: u32 = 4294967295u32;
306 #[repr(C)]
307 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
308 pub struct D2D1_ARC_SEGMENT {
309     pub point: Common::D2D_POINT_2F,
310     pub size: Common::D2D_SIZE_F,
311     pub rotationAngle: f32,
312     pub sweepDirection: D2D1_SWEEP_DIRECTION,
313     pub arcSize: D2D1_ARC_SIZE,
314 }
315 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
316 impl ::core::marker::Copy for D2D1_ARC_SEGMENT {}
317 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
318 impl ::core::clone::Clone for D2D1_ARC_SEGMENT {
clone(&self) -> Self319     fn clone(&self) -> Self {
320         *self
321     }
322 }
323 pub type D2D1_ARC_SIZE = u32;
324 pub const D2D1_ARC_SIZE_SMALL: D2D1_ARC_SIZE = 0u32;
325 pub const D2D1_ARC_SIZE_LARGE: D2D1_ARC_SIZE = 1u32;
326 pub const D2D1_ARC_SIZE_FORCE_DWORD: D2D1_ARC_SIZE = 4294967295u32;
327 pub type D2D1_ARITHMETICCOMPOSITE_PROP = u32;
328 pub const D2D1_ARITHMETICCOMPOSITE_PROP_COEFFICIENTS: D2D1_ARITHMETICCOMPOSITE_PROP = 0u32;
329 pub const D2D1_ARITHMETICCOMPOSITE_PROP_CLAMP_OUTPUT: D2D1_ARITHMETICCOMPOSITE_PROP = 1u32;
330 pub const D2D1_ARITHMETICCOMPOSITE_PROP_FORCE_DWORD: D2D1_ARITHMETICCOMPOSITE_PROP = 4294967295u32;
331 pub type D2D1_ATLAS_PROP = u32;
332 pub const D2D1_ATLAS_PROP_INPUT_RECT: D2D1_ATLAS_PROP = 0u32;
333 pub const D2D1_ATLAS_PROP_INPUT_PADDING_RECT: D2D1_ATLAS_PROP = 1u32;
334 pub const D2D1_ATLAS_PROP_FORCE_DWORD: D2D1_ATLAS_PROP = 4294967295u32;
335 pub type D2D1_BITMAPSOURCE_ALPHA_MODE = u32;
336 pub const D2D1_BITMAPSOURCE_ALPHA_MODE_PREMULTIPLIED: D2D1_BITMAPSOURCE_ALPHA_MODE = 1u32;
337 pub const D2D1_BITMAPSOURCE_ALPHA_MODE_STRAIGHT: D2D1_BITMAPSOURCE_ALPHA_MODE = 2u32;
338 pub const D2D1_BITMAPSOURCE_ALPHA_MODE_FORCE_DWORD: D2D1_BITMAPSOURCE_ALPHA_MODE = 4294967295u32;
339 pub type D2D1_BITMAPSOURCE_INTERPOLATION_MODE = u32;
340 pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = 0u32;
341 pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_LINEAR: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = 1u32;
342 pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_CUBIC: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = 2u32;
343 pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_FANT: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = 6u32;
344 pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_MIPMAP_LINEAR: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = 7u32;
345 pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_FORCE_DWORD: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = 4294967295u32;
346 pub type D2D1_BITMAPSOURCE_ORIENTATION = u32;
347 pub const D2D1_BITMAPSOURCE_ORIENTATION_DEFAULT: D2D1_BITMAPSOURCE_ORIENTATION = 1u32;
348 pub const D2D1_BITMAPSOURCE_ORIENTATION_FLIP_HORIZONTAL: D2D1_BITMAPSOURCE_ORIENTATION = 2u32;
349 pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180: D2D1_BITMAPSOURCE_ORIENTATION = 3u32;
350 pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL: D2D1_BITMAPSOURCE_ORIENTATION = 4u32;
351 pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL: D2D1_BITMAPSOURCE_ORIENTATION = 5u32;
352 pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90: D2D1_BITMAPSOURCE_ORIENTATION = 6u32;
353 pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL: D2D1_BITMAPSOURCE_ORIENTATION = 7u32;
354 pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270: D2D1_BITMAPSOURCE_ORIENTATION = 8u32;
355 pub const D2D1_BITMAPSOURCE_ORIENTATION_FORCE_DWORD: D2D1_BITMAPSOURCE_ORIENTATION = 4294967295u32;
356 pub type D2D1_BITMAPSOURCE_PROP = u32;
357 pub const D2D1_BITMAPSOURCE_PROP_WIC_BITMAP_SOURCE: D2D1_BITMAPSOURCE_PROP = 0u32;
358 pub const D2D1_BITMAPSOURCE_PROP_SCALE: D2D1_BITMAPSOURCE_PROP = 1u32;
359 pub const D2D1_BITMAPSOURCE_PROP_INTERPOLATION_MODE: D2D1_BITMAPSOURCE_PROP = 2u32;
360 pub const D2D1_BITMAPSOURCE_PROP_ENABLE_DPI_CORRECTION: D2D1_BITMAPSOURCE_PROP = 3u32;
361 pub const D2D1_BITMAPSOURCE_PROP_ALPHA_MODE: D2D1_BITMAPSOURCE_PROP = 4u32;
362 pub const D2D1_BITMAPSOURCE_PROP_ORIENTATION: D2D1_BITMAPSOURCE_PROP = 5u32;
363 pub const D2D1_BITMAPSOURCE_PROP_FORCE_DWORD: D2D1_BITMAPSOURCE_PROP = 4294967295u32;
364 #[repr(C)]
365 pub struct D2D1_BITMAP_BRUSH_PROPERTIES {
366     pub extendModeX: D2D1_EXTEND_MODE,
367     pub extendModeY: D2D1_EXTEND_MODE,
368     pub interpolationMode: D2D1_BITMAP_INTERPOLATION_MODE,
369 }
370 impl ::core::marker::Copy for D2D1_BITMAP_BRUSH_PROPERTIES {}
371 impl ::core::clone::Clone for D2D1_BITMAP_BRUSH_PROPERTIES {
clone(&self) -> Self372     fn clone(&self) -> Self {
373         *self
374     }
375 }
376 #[repr(C)]
377 pub struct D2D1_BITMAP_BRUSH_PROPERTIES1 {
378     pub extendModeX: D2D1_EXTEND_MODE,
379     pub extendModeY: D2D1_EXTEND_MODE,
380     pub interpolationMode: D2D1_INTERPOLATION_MODE,
381 }
382 impl ::core::marker::Copy for D2D1_BITMAP_BRUSH_PROPERTIES1 {}
383 impl ::core::clone::Clone for D2D1_BITMAP_BRUSH_PROPERTIES1 {
clone(&self) -> Self384     fn clone(&self) -> Self {
385         *self
386     }
387 }
388 pub type D2D1_BITMAP_INTERPOLATION_MODE = u32;
389 pub const D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_BITMAP_INTERPOLATION_MODE = 0u32;
390 pub const D2D1_BITMAP_INTERPOLATION_MODE_LINEAR: D2D1_BITMAP_INTERPOLATION_MODE = 1u32;
391 pub const D2D1_BITMAP_INTERPOLATION_MODE_FORCE_DWORD: D2D1_BITMAP_INTERPOLATION_MODE = 4294967295u32;
392 pub type D2D1_BITMAP_OPTIONS = u32;
393 pub const D2D1_BITMAP_OPTIONS_NONE: D2D1_BITMAP_OPTIONS = 0u32;
394 pub const D2D1_BITMAP_OPTIONS_TARGET: D2D1_BITMAP_OPTIONS = 1u32;
395 pub const D2D1_BITMAP_OPTIONS_CANNOT_DRAW: D2D1_BITMAP_OPTIONS = 2u32;
396 pub const D2D1_BITMAP_OPTIONS_CPU_READ: D2D1_BITMAP_OPTIONS = 4u32;
397 pub const D2D1_BITMAP_OPTIONS_GDI_COMPATIBLE: D2D1_BITMAP_OPTIONS = 8u32;
398 pub const D2D1_BITMAP_OPTIONS_FORCE_DWORD: D2D1_BITMAP_OPTIONS = 4294967295u32;
399 #[repr(C)]
400 #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))]
401 pub struct D2D1_BITMAP_PROPERTIES {
402     pub pixelFormat: Common::D2D1_PIXEL_FORMAT,
403     pub dpiX: f32,
404     pub dpiY: f32,
405 }
406 #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))]
407 impl ::core::marker::Copy for D2D1_BITMAP_PROPERTIES {}
408 #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))]
409 impl ::core::clone::Clone for D2D1_BITMAP_PROPERTIES {
clone(&self) -> Self410     fn clone(&self) -> Self {
411         *self
412     }
413 }
414 #[repr(C)]
415 #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))]
416 pub struct D2D1_BITMAP_PROPERTIES1 {
417     pub pixelFormat: Common::D2D1_PIXEL_FORMAT,
418     pub dpiX: f32,
419     pub dpiY: f32,
420     pub bitmapOptions: D2D1_BITMAP_OPTIONS,
421     pub colorContext: ID2D1ColorContext,
422 }
423 #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))]
424 impl ::core::marker::Copy for D2D1_BITMAP_PROPERTIES1 {}
425 #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))]
426 impl ::core::clone::Clone for D2D1_BITMAP_PROPERTIES1 {
clone(&self) -> Self427     fn clone(&self) -> Self {
428         *self
429     }
430 }
431 pub type D2D1_BLEND = u32;
432 pub const D2D1_BLEND_ZERO: D2D1_BLEND = 1u32;
433 pub const D2D1_BLEND_ONE: D2D1_BLEND = 2u32;
434 pub const D2D1_BLEND_SRC_COLOR: D2D1_BLEND = 3u32;
435 pub const D2D1_BLEND_INV_SRC_COLOR: D2D1_BLEND = 4u32;
436 pub const D2D1_BLEND_SRC_ALPHA: D2D1_BLEND = 5u32;
437 pub const D2D1_BLEND_INV_SRC_ALPHA: D2D1_BLEND = 6u32;
438 pub const D2D1_BLEND_DEST_ALPHA: D2D1_BLEND = 7u32;
439 pub const D2D1_BLEND_INV_DEST_ALPHA: D2D1_BLEND = 8u32;
440 pub const D2D1_BLEND_DEST_COLOR: D2D1_BLEND = 9u32;
441 pub const D2D1_BLEND_INV_DEST_COLOR: D2D1_BLEND = 10u32;
442 pub const D2D1_BLEND_SRC_ALPHA_SAT: D2D1_BLEND = 11u32;
443 pub const D2D1_BLEND_BLEND_FACTOR: D2D1_BLEND = 14u32;
444 pub const D2D1_BLEND_INV_BLEND_FACTOR: D2D1_BLEND = 15u32;
445 pub const D2D1_BLEND_FORCE_DWORD: D2D1_BLEND = 4294967295u32;
446 #[repr(C)]
447 pub struct D2D1_BLEND_DESCRIPTION {
448     pub sourceBlend: D2D1_BLEND,
449     pub destinationBlend: D2D1_BLEND,
450     pub blendOperation: D2D1_BLEND_OPERATION,
451     pub sourceBlendAlpha: D2D1_BLEND,
452     pub destinationBlendAlpha: D2D1_BLEND,
453     pub blendOperationAlpha: D2D1_BLEND_OPERATION,
454     pub blendFactor: [f32; 4],
455 }
456 impl ::core::marker::Copy for D2D1_BLEND_DESCRIPTION {}
457 impl ::core::clone::Clone for D2D1_BLEND_DESCRIPTION {
clone(&self) -> Self458     fn clone(&self) -> Self {
459         *self
460     }
461 }
462 pub type D2D1_BLEND_OPERATION = u32;
463 pub const D2D1_BLEND_OPERATION_ADD: D2D1_BLEND_OPERATION = 1u32;
464 pub const D2D1_BLEND_OPERATION_SUBTRACT: D2D1_BLEND_OPERATION = 2u32;
465 pub const D2D1_BLEND_OPERATION_REV_SUBTRACT: D2D1_BLEND_OPERATION = 3u32;
466 pub const D2D1_BLEND_OPERATION_MIN: D2D1_BLEND_OPERATION = 4u32;
467 pub const D2D1_BLEND_OPERATION_MAX: D2D1_BLEND_OPERATION = 5u32;
468 pub const D2D1_BLEND_OPERATION_FORCE_DWORD: D2D1_BLEND_OPERATION = 4294967295u32;
469 pub type D2D1_BLEND_PROP = u32;
470 pub const D2D1_BLEND_PROP_MODE: D2D1_BLEND_PROP = 0u32;
471 pub const D2D1_BLEND_PROP_FORCE_DWORD: D2D1_BLEND_PROP = 4294967295u32;
472 pub type D2D1_BORDER_EDGE_MODE = u32;
473 pub const D2D1_BORDER_EDGE_MODE_CLAMP: D2D1_BORDER_EDGE_MODE = 0u32;
474 pub const D2D1_BORDER_EDGE_MODE_WRAP: D2D1_BORDER_EDGE_MODE = 1u32;
475 pub const D2D1_BORDER_EDGE_MODE_MIRROR: D2D1_BORDER_EDGE_MODE = 2u32;
476 pub const D2D1_BORDER_EDGE_MODE_FORCE_DWORD: D2D1_BORDER_EDGE_MODE = 4294967295u32;
477 pub type D2D1_BORDER_PROP = u32;
478 pub const D2D1_BORDER_PROP_EDGE_MODE_X: D2D1_BORDER_PROP = 0u32;
479 pub const D2D1_BORDER_PROP_EDGE_MODE_Y: D2D1_BORDER_PROP = 1u32;
480 pub const D2D1_BORDER_PROP_FORCE_DWORD: D2D1_BORDER_PROP = 4294967295u32;
481 pub type D2D1_BRIGHTNESS_PROP = u32;
482 pub const D2D1_BRIGHTNESS_PROP_WHITE_POINT: D2D1_BRIGHTNESS_PROP = 0u32;
483 pub const D2D1_BRIGHTNESS_PROP_BLACK_POINT: D2D1_BRIGHTNESS_PROP = 1u32;
484 pub const D2D1_BRIGHTNESS_PROP_FORCE_DWORD: D2D1_BRIGHTNESS_PROP = 4294967295u32;
485 #[repr(C)]
486 #[cfg(feature = "Foundation_Numerics")]
487 pub struct D2D1_BRUSH_PROPERTIES {
488     pub opacity: f32,
489     pub transform: super::super::super::Foundation::Numerics::Matrix3x2,
490 }
491 #[cfg(feature = "Foundation_Numerics")]
492 impl ::core::marker::Copy for D2D1_BRUSH_PROPERTIES {}
493 #[cfg(feature = "Foundation_Numerics")]
494 impl ::core::clone::Clone for D2D1_BRUSH_PROPERTIES {
clone(&self) -> Self495     fn clone(&self) -> Self {
496         *self
497     }
498 }
499 pub type D2D1_BUFFER_PRECISION = u32;
500 pub const D2D1_BUFFER_PRECISION_UNKNOWN: D2D1_BUFFER_PRECISION = 0u32;
501 pub const D2D1_BUFFER_PRECISION_8BPC_UNORM: D2D1_BUFFER_PRECISION = 1u32;
502 pub const D2D1_BUFFER_PRECISION_8BPC_UNORM_SRGB: D2D1_BUFFER_PRECISION = 2u32;
503 pub const D2D1_BUFFER_PRECISION_16BPC_UNORM: D2D1_BUFFER_PRECISION = 3u32;
504 pub const D2D1_BUFFER_PRECISION_16BPC_FLOAT: D2D1_BUFFER_PRECISION = 4u32;
505 pub const D2D1_BUFFER_PRECISION_32BPC_FLOAT: D2D1_BUFFER_PRECISION = 5u32;
506 pub const D2D1_BUFFER_PRECISION_FORCE_DWORD: D2D1_BUFFER_PRECISION = 4294967295u32;
507 pub type D2D1_CAP_STYLE = u32;
508 pub const D2D1_CAP_STYLE_FLAT: D2D1_CAP_STYLE = 0u32;
509 pub const D2D1_CAP_STYLE_SQUARE: D2D1_CAP_STYLE = 1u32;
510 pub const D2D1_CAP_STYLE_ROUND: D2D1_CAP_STYLE = 2u32;
511 pub const D2D1_CAP_STYLE_TRIANGLE: D2D1_CAP_STYLE = 3u32;
512 pub const D2D1_CAP_STYLE_FORCE_DWORD: D2D1_CAP_STYLE = 4294967295u32;
513 pub type D2D1_CHANGE_TYPE = u32;
514 pub const D2D1_CHANGE_TYPE_NONE: D2D1_CHANGE_TYPE = 0u32;
515 pub const D2D1_CHANGE_TYPE_PROPERTIES: D2D1_CHANGE_TYPE = 1u32;
516 pub const D2D1_CHANGE_TYPE_CONTEXT: D2D1_CHANGE_TYPE = 2u32;
517 pub const D2D1_CHANGE_TYPE_GRAPH: D2D1_CHANGE_TYPE = 3u32;
518 pub const D2D1_CHANGE_TYPE_FORCE_DWORD: D2D1_CHANGE_TYPE = 4294967295u32;
519 pub type D2D1_CHANNEL_DEPTH = u32;
520 pub const D2D1_CHANNEL_DEPTH_DEFAULT: D2D1_CHANNEL_DEPTH = 0u32;
521 pub const D2D1_CHANNEL_DEPTH_1: D2D1_CHANNEL_DEPTH = 1u32;
522 pub const D2D1_CHANNEL_DEPTH_4: D2D1_CHANNEL_DEPTH = 4u32;
523 pub const D2D1_CHANNEL_DEPTH_FORCE_DWORD: D2D1_CHANNEL_DEPTH = 4294967295u32;
524 pub type D2D1_CHANNEL_SELECTOR = u32;
525 pub const D2D1_CHANNEL_SELECTOR_R: D2D1_CHANNEL_SELECTOR = 0u32;
526 pub const D2D1_CHANNEL_SELECTOR_G: D2D1_CHANNEL_SELECTOR = 1u32;
527 pub const D2D1_CHANNEL_SELECTOR_B: D2D1_CHANNEL_SELECTOR = 2u32;
528 pub const D2D1_CHANNEL_SELECTOR_A: D2D1_CHANNEL_SELECTOR = 3u32;
529 pub const D2D1_CHANNEL_SELECTOR_FORCE_DWORD: D2D1_CHANNEL_SELECTOR = 4294967295u32;
530 pub type D2D1_CHROMAKEY_PROP = u32;
531 pub const D2D1_CHROMAKEY_PROP_COLOR: D2D1_CHROMAKEY_PROP = 0u32;
532 pub const D2D1_CHROMAKEY_PROP_TOLERANCE: D2D1_CHROMAKEY_PROP = 1u32;
533 pub const D2D1_CHROMAKEY_PROP_INVERT_ALPHA: D2D1_CHROMAKEY_PROP = 2u32;
534 pub const D2D1_CHROMAKEY_PROP_FEATHER: D2D1_CHROMAKEY_PROP = 3u32;
535 pub const D2D1_CHROMAKEY_PROP_FORCE_DWORD: D2D1_CHROMAKEY_PROP = 4294967295u32;
536 pub type D2D1_COLORMANAGEMENT_ALPHA_MODE = u32;
537 pub const D2D1_COLORMANAGEMENT_ALPHA_MODE_PREMULTIPLIED: D2D1_COLORMANAGEMENT_ALPHA_MODE = 1u32;
538 pub const D2D1_COLORMANAGEMENT_ALPHA_MODE_STRAIGHT: D2D1_COLORMANAGEMENT_ALPHA_MODE = 2u32;
539 pub const D2D1_COLORMANAGEMENT_ALPHA_MODE_FORCE_DWORD: D2D1_COLORMANAGEMENT_ALPHA_MODE = 4294967295u32;
540 pub type D2D1_COLORMANAGEMENT_PROP = u32;
541 pub const D2D1_COLORMANAGEMENT_PROP_SOURCE_COLOR_CONTEXT: D2D1_COLORMANAGEMENT_PROP = 0u32;
542 pub const D2D1_COLORMANAGEMENT_PROP_SOURCE_RENDERING_INTENT: D2D1_COLORMANAGEMENT_PROP = 1u32;
543 pub const D2D1_COLORMANAGEMENT_PROP_DESTINATION_COLOR_CONTEXT: D2D1_COLORMANAGEMENT_PROP = 2u32;
544 pub const D2D1_COLORMANAGEMENT_PROP_DESTINATION_RENDERING_INTENT: D2D1_COLORMANAGEMENT_PROP = 3u32;
545 pub const D2D1_COLORMANAGEMENT_PROP_ALPHA_MODE: D2D1_COLORMANAGEMENT_PROP = 4u32;
546 pub const D2D1_COLORMANAGEMENT_PROP_QUALITY: D2D1_COLORMANAGEMENT_PROP = 5u32;
547 pub const D2D1_COLORMANAGEMENT_PROP_FORCE_DWORD: D2D1_COLORMANAGEMENT_PROP = 4294967295u32;
548 pub type D2D1_COLORMANAGEMENT_QUALITY = u32;
549 pub const D2D1_COLORMANAGEMENT_QUALITY_PROOF: D2D1_COLORMANAGEMENT_QUALITY = 0u32;
550 pub const D2D1_COLORMANAGEMENT_QUALITY_NORMAL: D2D1_COLORMANAGEMENT_QUALITY = 1u32;
551 pub const D2D1_COLORMANAGEMENT_QUALITY_BEST: D2D1_COLORMANAGEMENT_QUALITY = 2u32;
552 pub const D2D1_COLORMANAGEMENT_QUALITY_FORCE_DWORD: D2D1_COLORMANAGEMENT_QUALITY = 4294967295u32;
553 pub type D2D1_COLORMANAGEMENT_RENDERING_INTENT = u32;
554 pub const D2D1_COLORMANAGEMENT_RENDERING_INTENT_PERCEPTUAL: D2D1_COLORMANAGEMENT_RENDERING_INTENT = 0u32;
555 pub const D2D1_COLORMANAGEMENT_RENDERING_INTENT_RELATIVE_COLORIMETRIC: D2D1_COLORMANAGEMENT_RENDERING_INTENT = 1u32;
556 pub const D2D1_COLORMANAGEMENT_RENDERING_INTENT_SATURATION: D2D1_COLORMANAGEMENT_RENDERING_INTENT = 2u32;
557 pub const D2D1_COLORMANAGEMENT_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC: D2D1_COLORMANAGEMENT_RENDERING_INTENT = 3u32;
558 pub const D2D1_COLORMANAGEMENT_RENDERING_INTENT_FORCE_DWORD: D2D1_COLORMANAGEMENT_RENDERING_INTENT = 4294967295u32;
559 pub type D2D1_COLORMATRIX_PROP = u32;
560 pub const D2D1_COLORMATRIX_PROP_COLOR_MATRIX: D2D1_COLORMATRIX_PROP = 0u32;
561 pub const D2D1_COLORMATRIX_PROP_ALPHA_MODE: D2D1_COLORMATRIX_PROP = 1u32;
562 pub const D2D1_COLORMATRIX_PROP_CLAMP_OUTPUT: D2D1_COLORMATRIX_PROP = 2u32;
563 pub const D2D1_COLORMATRIX_PROP_FORCE_DWORD: D2D1_COLORMATRIX_PROP = 4294967295u32;
564 pub type D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION = u32;
565 pub const D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DEFAULT: D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION = 0u32;
566 pub const D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DISABLE: D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION = 1u32;
567 pub const D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_FORCE_DWORD: D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION = 4294967295u32;
568 pub type D2D1_COLOR_CONTEXT_TYPE = u32;
569 pub const D2D1_COLOR_CONTEXT_TYPE_ICC: D2D1_COLOR_CONTEXT_TYPE = 0u32;
570 pub const D2D1_COLOR_CONTEXT_TYPE_SIMPLE: D2D1_COLOR_CONTEXT_TYPE = 1u32;
571 pub const D2D1_COLOR_CONTEXT_TYPE_DXGI: D2D1_COLOR_CONTEXT_TYPE = 2u32;
572 pub const D2D1_COLOR_CONTEXT_TYPE_FORCE_DWORD: D2D1_COLOR_CONTEXT_TYPE = 4294967295u32;
573 pub type D2D1_COLOR_INTERPOLATION_MODE = u32;
574 pub const D2D1_COLOR_INTERPOLATION_MODE_STRAIGHT: D2D1_COLOR_INTERPOLATION_MODE = 0u32;
575 pub const D2D1_COLOR_INTERPOLATION_MODE_PREMULTIPLIED: D2D1_COLOR_INTERPOLATION_MODE = 1u32;
576 pub const D2D1_COLOR_INTERPOLATION_MODE_FORCE_DWORD: D2D1_COLOR_INTERPOLATION_MODE = 4294967295u32;
577 pub type D2D1_COLOR_SPACE = u32;
578 pub const D2D1_COLOR_SPACE_CUSTOM: D2D1_COLOR_SPACE = 0u32;
579 pub const D2D1_COLOR_SPACE_SRGB: D2D1_COLOR_SPACE = 1u32;
580 pub const D2D1_COLOR_SPACE_SCRGB: D2D1_COLOR_SPACE = 2u32;
581 pub const D2D1_COLOR_SPACE_FORCE_DWORD: D2D1_COLOR_SPACE = 4294967295u32;
582 pub type D2D1_COMBINE_MODE = u32;
583 pub const D2D1_COMBINE_MODE_UNION: D2D1_COMBINE_MODE = 0u32;
584 pub const D2D1_COMBINE_MODE_INTERSECT: D2D1_COMBINE_MODE = 1u32;
585 pub const D2D1_COMBINE_MODE_XOR: D2D1_COMBINE_MODE = 2u32;
586 pub const D2D1_COMBINE_MODE_EXCLUDE: D2D1_COMBINE_MODE = 3u32;
587 pub const D2D1_COMBINE_MODE_FORCE_DWORD: D2D1_COMBINE_MODE = 4294967295u32;
588 pub type D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS = u32;
589 pub const D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS = 0u32;
590 pub const D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_GDI_COMPATIBLE: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS = 1u32;
591 pub const D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_FORCE_DWORD: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS = 4294967295u32;
592 pub type D2D1_COMPOSITE_PROP = u32;
593 pub const D2D1_COMPOSITE_PROP_MODE: D2D1_COMPOSITE_PROP = 0u32;
594 pub const D2D1_COMPOSITE_PROP_FORCE_DWORD: D2D1_COMPOSITE_PROP = 4294967295u32;
595 pub type D2D1_CONTRAST_PROP = u32;
596 pub const D2D1_CONTRAST_PROP_CONTRAST: D2D1_CONTRAST_PROP = 0u32;
597 pub const D2D1_CONTRAST_PROP_CLAMP_INPUT: D2D1_CONTRAST_PROP = 1u32;
598 pub const D2D1_CONTRAST_PROP_FORCE_DWORD: D2D1_CONTRAST_PROP = 4294967295u32;
599 pub type D2D1_CONVOLVEMATRIX_PROP = u32;
600 pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_UNIT_LENGTH: D2D1_CONVOLVEMATRIX_PROP = 0u32;
601 pub const D2D1_CONVOLVEMATRIX_PROP_SCALE_MODE: D2D1_CONVOLVEMATRIX_PROP = 1u32;
602 pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_SIZE_X: D2D1_CONVOLVEMATRIX_PROP = 2u32;
603 pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_SIZE_Y: D2D1_CONVOLVEMATRIX_PROP = 3u32;
604 pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_MATRIX: D2D1_CONVOLVEMATRIX_PROP = 4u32;
605 pub const D2D1_CONVOLVEMATRIX_PROP_DIVISOR: D2D1_CONVOLVEMATRIX_PROP = 5u32;
606 pub const D2D1_CONVOLVEMATRIX_PROP_BIAS: D2D1_CONVOLVEMATRIX_PROP = 6u32;
607 pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_OFFSET: D2D1_CONVOLVEMATRIX_PROP = 7u32;
608 pub const D2D1_CONVOLVEMATRIX_PROP_PRESERVE_ALPHA: D2D1_CONVOLVEMATRIX_PROP = 8u32;
609 pub const D2D1_CONVOLVEMATRIX_PROP_BORDER_MODE: D2D1_CONVOLVEMATRIX_PROP = 9u32;
610 pub const D2D1_CONVOLVEMATRIX_PROP_CLAMP_OUTPUT: D2D1_CONVOLVEMATRIX_PROP = 10u32;
611 pub const D2D1_CONVOLVEMATRIX_PROP_FORCE_DWORD: D2D1_CONVOLVEMATRIX_PROP = 4294967295u32;
612 pub type D2D1_CONVOLVEMATRIX_SCALE_MODE = u32;
613 pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_CONVOLVEMATRIX_SCALE_MODE = 0u32;
614 pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_LINEAR: D2D1_CONVOLVEMATRIX_SCALE_MODE = 1u32;
615 pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_CUBIC: D2D1_CONVOLVEMATRIX_SCALE_MODE = 2u32;
616 pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_CONVOLVEMATRIX_SCALE_MODE = 3u32;
617 pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_ANISOTROPIC: D2D1_CONVOLVEMATRIX_SCALE_MODE = 4u32;
618 pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_CONVOLVEMATRIX_SCALE_MODE = 5u32;
619 pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_FORCE_DWORD: D2D1_CONVOLVEMATRIX_SCALE_MODE = 4294967295u32;
620 #[repr(C)]
621 pub struct D2D1_CREATION_PROPERTIES {
622     pub threadingMode: D2D1_THREADING_MODE,
623     pub debugLevel: D2D1_DEBUG_LEVEL,
624     pub options: D2D1_DEVICE_CONTEXT_OPTIONS,
625 }
626 impl ::core::marker::Copy for D2D1_CREATION_PROPERTIES {}
627 impl ::core::clone::Clone for D2D1_CREATION_PROPERTIES {
clone(&self) -> Self628     fn clone(&self) -> Self {
629         *self
630     }
631 }
632 pub type D2D1_CROP_PROP = u32;
633 pub const D2D1_CROP_PROP_RECT: D2D1_CROP_PROP = 0u32;
634 pub const D2D1_CROP_PROP_BORDER_MODE: D2D1_CROP_PROP = 1u32;
635 pub const D2D1_CROP_PROP_FORCE_DWORD: D2D1_CROP_PROP = 4294967295u32;
636 pub type D2D1_CROSSFADE_PROP = u32;
637 pub const D2D1_CROSSFADE_PROP_WEIGHT: D2D1_CROSSFADE_PROP = 0u32;
638 pub const D2D1_CROSSFADE_PROP_FORCE_DWORD: D2D1_CROSSFADE_PROP = 4294967295u32;
639 #[repr(C)]
640 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))]
641 pub struct D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES {
642     pub shaderBufferWithInputSignature: *mut u8,
643     pub shaderBufferSize: u32,
644     pub inputElements: *mut D2D1_INPUT_ELEMENT_DESC,
645     pub elementCount: u32,
646     pub stride: u32,
647 }
648 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))]
649 impl ::core::marker::Copy for D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES {}
650 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))]
651 impl ::core::clone::Clone for D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES {
clone(&self) -> Self652     fn clone(&self) -> Self {
653         *self
654     }
655 }
656 pub type D2D1_DASH_STYLE = u32;
657 pub const D2D1_DASH_STYLE_SOLID: D2D1_DASH_STYLE = 0u32;
658 pub const D2D1_DASH_STYLE_DASH: D2D1_DASH_STYLE = 1u32;
659 pub const D2D1_DASH_STYLE_DOT: D2D1_DASH_STYLE = 2u32;
660 pub const D2D1_DASH_STYLE_DASH_DOT: D2D1_DASH_STYLE = 3u32;
661 pub const D2D1_DASH_STYLE_DASH_DOT_DOT: D2D1_DASH_STYLE = 4u32;
662 pub const D2D1_DASH_STYLE_CUSTOM: D2D1_DASH_STYLE = 5u32;
663 pub const D2D1_DASH_STYLE_FORCE_DWORD: D2D1_DASH_STYLE = 4294967295u32;
664 pub type D2D1_DC_INITIALIZE_MODE = u32;
665 pub const D2D1_DC_INITIALIZE_MODE_COPY: D2D1_DC_INITIALIZE_MODE = 0u32;
666 pub const D2D1_DC_INITIALIZE_MODE_CLEAR: D2D1_DC_INITIALIZE_MODE = 1u32;
667 pub const D2D1_DC_INITIALIZE_MODE_FORCE_DWORD: D2D1_DC_INITIALIZE_MODE = 4294967295u32;
668 pub type D2D1_DEBUG_LEVEL = u32;
669 pub const D2D1_DEBUG_LEVEL_NONE: D2D1_DEBUG_LEVEL = 0u32;
670 pub const D2D1_DEBUG_LEVEL_ERROR: D2D1_DEBUG_LEVEL = 1u32;
671 pub const D2D1_DEBUG_LEVEL_WARNING: D2D1_DEBUG_LEVEL = 2u32;
672 pub const D2D1_DEBUG_LEVEL_INFORMATION: D2D1_DEBUG_LEVEL = 3u32;
673 pub const D2D1_DEBUG_LEVEL_FORCE_DWORD: D2D1_DEBUG_LEVEL = 4294967295u32;
674 pub const D2D1_DEFAULT_FLATTENING_TOLERANCE: f32 = 0.25f32;
675 pub type D2D1_DEVICE_CONTEXT_OPTIONS = u32;
676 pub const D2D1_DEVICE_CONTEXT_OPTIONS_NONE: D2D1_DEVICE_CONTEXT_OPTIONS = 0u32;
677 pub const D2D1_DEVICE_CONTEXT_OPTIONS_ENABLE_MULTITHREADED_OPTIMIZATIONS: D2D1_DEVICE_CONTEXT_OPTIONS = 1u32;
678 pub const D2D1_DEVICE_CONTEXT_OPTIONS_FORCE_DWORD: D2D1_DEVICE_CONTEXT_OPTIONS = 4294967295u32;
679 pub type D2D1_DIRECTIONALBLUR_OPTIMIZATION = u32;
680 pub const D2D1_DIRECTIONALBLUR_OPTIMIZATION_SPEED: D2D1_DIRECTIONALBLUR_OPTIMIZATION = 0u32;
681 pub const D2D1_DIRECTIONALBLUR_OPTIMIZATION_BALANCED: D2D1_DIRECTIONALBLUR_OPTIMIZATION = 1u32;
682 pub const D2D1_DIRECTIONALBLUR_OPTIMIZATION_QUALITY: D2D1_DIRECTIONALBLUR_OPTIMIZATION = 2u32;
683 pub const D2D1_DIRECTIONALBLUR_OPTIMIZATION_FORCE_DWORD: D2D1_DIRECTIONALBLUR_OPTIMIZATION = 4294967295u32;
684 pub type D2D1_DIRECTIONALBLUR_PROP = u32;
685 pub const D2D1_DIRECTIONALBLUR_PROP_STANDARD_DEVIATION: D2D1_DIRECTIONALBLUR_PROP = 0u32;
686 pub const D2D1_DIRECTIONALBLUR_PROP_ANGLE: D2D1_DIRECTIONALBLUR_PROP = 1u32;
687 pub const D2D1_DIRECTIONALBLUR_PROP_OPTIMIZATION: D2D1_DIRECTIONALBLUR_PROP = 2u32;
688 pub const D2D1_DIRECTIONALBLUR_PROP_BORDER_MODE: D2D1_DIRECTIONALBLUR_PROP = 3u32;
689 pub const D2D1_DIRECTIONALBLUR_PROP_FORCE_DWORD: D2D1_DIRECTIONALBLUR_PROP = 4294967295u32;
690 pub type D2D1_DISCRETETRANSFER_PROP = u32;
691 pub const D2D1_DISCRETETRANSFER_PROP_RED_TABLE: D2D1_DISCRETETRANSFER_PROP = 0u32;
692 pub const D2D1_DISCRETETRANSFER_PROP_RED_DISABLE: D2D1_DISCRETETRANSFER_PROP = 1u32;
693 pub const D2D1_DISCRETETRANSFER_PROP_GREEN_TABLE: D2D1_DISCRETETRANSFER_PROP = 2u32;
694 pub const D2D1_DISCRETETRANSFER_PROP_GREEN_DISABLE: D2D1_DISCRETETRANSFER_PROP = 3u32;
695 pub const D2D1_DISCRETETRANSFER_PROP_BLUE_TABLE: D2D1_DISCRETETRANSFER_PROP = 4u32;
696 pub const D2D1_DISCRETETRANSFER_PROP_BLUE_DISABLE: D2D1_DISCRETETRANSFER_PROP = 5u32;
697 pub const D2D1_DISCRETETRANSFER_PROP_ALPHA_TABLE: D2D1_DISCRETETRANSFER_PROP = 6u32;
698 pub const D2D1_DISCRETETRANSFER_PROP_ALPHA_DISABLE: D2D1_DISCRETETRANSFER_PROP = 7u32;
699 pub const D2D1_DISCRETETRANSFER_PROP_CLAMP_OUTPUT: D2D1_DISCRETETRANSFER_PROP = 8u32;
700 pub const D2D1_DISCRETETRANSFER_PROP_FORCE_DWORD: D2D1_DISCRETETRANSFER_PROP = 4294967295u32;
701 pub type D2D1_DISPLACEMENTMAP_PROP = u32;
702 pub const D2D1_DISPLACEMENTMAP_PROP_SCALE: D2D1_DISPLACEMENTMAP_PROP = 0u32;
703 pub const D2D1_DISPLACEMENTMAP_PROP_X_CHANNEL_SELECT: D2D1_DISPLACEMENTMAP_PROP = 1u32;
704 pub const D2D1_DISPLACEMENTMAP_PROP_Y_CHANNEL_SELECT: D2D1_DISPLACEMENTMAP_PROP = 2u32;
705 pub const D2D1_DISPLACEMENTMAP_PROP_FORCE_DWORD: D2D1_DISPLACEMENTMAP_PROP = 4294967295u32;
706 pub type D2D1_DISTANTDIFFUSE_PROP = u32;
707 pub const D2D1_DISTANTDIFFUSE_PROP_AZIMUTH: D2D1_DISTANTDIFFUSE_PROP = 0u32;
708 pub const D2D1_DISTANTDIFFUSE_PROP_ELEVATION: D2D1_DISTANTDIFFUSE_PROP = 1u32;
709 pub const D2D1_DISTANTDIFFUSE_PROP_DIFFUSE_CONSTANT: D2D1_DISTANTDIFFUSE_PROP = 2u32;
710 pub const D2D1_DISTANTDIFFUSE_PROP_SURFACE_SCALE: D2D1_DISTANTDIFFUSE_PROP = 3u32;
711 pub const D2D1_DISTANTDIFFUSE_PROP_COLOR: D2D1_DISTANTDIFFUSE_PROP = 4u32;
712 pub const D2D1_DISTANTDIFFUSE_PROP_KERNEL_UNIT_LENGTH: D2D1_DISTANTDIFFUSE_PROP = 5u32;
713 pub const D2D1_DISTANTDIFFUSE_PROP_SCALE_MODE: D2D1_DISTANTDIFFUSE_PROP = 6u32;
714 pub const D2D1_DISTANTDIFFUSE_PROP_FORCE_DWORD: D2D1_DISTANTDIFFUSE_PROP = 4294967295u32;
715 pub type D2D1_DISTANTDIFFUSE_SCALE_MODE = u32;
716 pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_DISTANTDIFFUSE_SCALE_MODE = 0u32;
717 pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_LINEAR: D2D1_DISTANTDIFFUSE_SCALE_MODE = 1u32;
718 pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_CUBIC: D2D1_DISTANTDIFFUSE_SCALE_MODE = 2u32;
719 pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_DISTANTDIFFUSE_SCALE_MODE = 3u32;
720 pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_ANISOTROPIC: D2D1_DISTANTDIFFUSE_SCALE_MODE = 4u32;
721 pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_DISTANTDIFFUSE_SCALE_MODE = 5u32;
722 pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_FORCE_DWORD: D2D1_DISTANTDIFFUSE_SCALE_MODE = 4294967295u32;
723 pub type D2D1_DISTANTSPECULAR_PROP = u32;
724 pub const D2D1_DISTANTSPECULAR_PROP_AZIMUTH: D2D1_DISTANTSPECULAR_PROP = 0u32;
725 pub const D2D1_DISTANTSPECULAR_PROP_ELEVATION: D2D1_DISTANTSPECULAR_PROP = 1u32;
726 pub const D2D1_DISTANTSPECULAR_PROP_SPECULAR_EXPONENT: D2D1_DISTANTSPECULAR_PROP = 2u32;
727 pub const D2D1_DISTANTSPECULAR_PROP_SPECULAR_CONSTANT: D2D1_DISTANTSPECULAR_PROP = 3u32;
728 pub const D2D1_DISTANTSPECULAR_PROP_SURFACE_SCALE: D2D1_DISTANTSPECULAR_PROP = 4u32;
729 pub const D2D1_DISTANTSPECULAR_PROP_COLOR: D2D1_DISTANTSPECULAR_PROP = 5u32;
730 pub const D2D1_DISTANTSPECULAR_PROP_KERNEL_UNIT_LENGTH: D2D1_DISTANTSPECULAR_PROP = 6u32;
731 pub const D2D1_DISTANTSPECULAR_PROP_SCALE_MODE: D2D1_DISTANTSPECULAR_PROP = 7u32;
732 pub const D2D1_DISTANTSPECULAR_PROP_FORCE_DWORD: D2D1_DISTANTSPECULAR_PROP = 4294967295u32;
733 pub type D2D1_DISTANTSPECULAR_SCALE_MODE = u32;
734 pub const D2D1_DISTANTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_DISTANTSPECULAR_SCALE_MODE = 0u32;
735 pub const D2D1_DISTANTSPECULAR_SCALE_MODE_LINEAR: D2D1_DISTANTSPECULAR_SCALE_MODE = 1u32;
736 pub const D2D1_DISTANTSPECULAR_SCALE_MODE_CUBIC: D2D1_DISTANTSPECULAR_SCALE_MODE = 2u32;
737 pub const D2D1_DISTANTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_DISTANTSPECULAR_SCALE_MODE = 3u32;
738 pub const D2D1_DISTANTSPECULAR_SCALE_MODE_ANISOTROPIC: D2D1_DISTANTSPECULAR_SCALE_MODE = 4u32;
739 pub const D2D1_DISTANTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_DISTANTSPECULAR_SCALE_MODE = 5u32;
740 pub const D2D1_DISTANTSPECULAR_SCALE_MODE_FORCE_DWORD: D2D1_DISTANTSPECULAR_SCALE_MODE = 4294967295u32;
741 pub type D2D1_DPICOMPENSATION_INTERPOLATION_MODE = u32;
742 pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = 0u32;
743 pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_LINEAR: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = 1u32;
744 pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_CUBIC: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = 2u32;
745 pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = 3u32;
746 pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_ANISOTROPIC: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = 4u32;
747 pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = 5u32;
748 pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_FORCE_DWORD: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = 4294967295u32;
749 pub type D2D1_DPICOMPENSATION_PROP = u32;
750 pub const D2D1_DPICOMPENSATION_PROP_INTERPOLATION_MODE: D2D1_DPICOMPENSATION_PROP = 0u32;
751 pub const D2D1_DPICOMPENSATION_PROP_BORDER_MODE: D2D1_DPICOMPENSATION_PROP = 1u32;
752 pub const D2D1_DPICOMPENSATION_PROP_INPUT_DPI: D2D1_DPICOMPENSATION_PROP = 2u32;
753 pub const D2D1_DPICOMPENSATION_PROP_FORCE_DWORD: D2D1_DPICOMPENSATION_PROP = 4294967295u32;
754 #[repr(C)]
755 #[cfg(feature = "Foundation_Numerics")]
756 pub struct D2D1_DRAWING_STATE_DESCRIPTION {
757     pub antialiasMode: D2D1_ANTIALIAS_MODE,
758     pub textAntialiasMode: D2D1_TEXT_ANTIALIAS_MODE,
759     pub tag1: u64,
760     pub tag2: u64,
761     pub transform: super::super::super::Foundation::Numerics::Matrix3x2,
762 }
763 #[cfg(feature = "Foundation_Numerics")]
764 impl ::core::marker::Copy for D2D1_DRAWING_STATE_DESCRIPTION {}
765 #[cfg(feature = "Foundation_Numerics")]
766 impl ::core::clone::Clone for D2D1_DRAWING_STATE_DESCRIPTION {
clone(&self) -> Self767     fn clone(&self) -> Self {
768         *self
769     }
770 }
771 #[repr(C)]
772 #[cfg(feature = "Foundation_Numerics")]
773 pub struct D2D1_DRAWING_STATE_DESCRIPTION1 {
774     pub antialiasMode: D2D1_ANTIALIAS_MODE,
775     pub textAntialiasMode: D2D1_TEXT_ANTIALIAS_MODE,
776     pub tag1: u64,
777     pub tag2: u64,
778     pub transform: super::super::super::Foundation::Numerics::Matrix3x2,
779     pub primitiveBlend: D2D1_PRIMITIVE_BLEND,
780     pub unitMode: D2D1_UNIT_MODE,
781 }
782 #[cfg(feature = "Foundation_Numerics")]
783 impl ::core::marker::Copy for D2D1_DRAWING_STATE_DESCRIPTION1 {}
784 #[cfg(feature = "Foundation_Numerics")]
785 impl ::core::clone::Clone for D2D1_DRAWING_STATE_DESCRIPTION1 {
clone(&self) -> Self786     fn clone(&self) -> Self {
787         *self
788     }
789 }
790 pub type D2D1_DRAW_TEXT_OPTIONS = u32;
791 pub const D2D1_DRAW_TEXT_OPTIONS_NO_SNAP: D2D1_DRAW_TEXT_OPTIONS = 1u32;
792 pub const D2D1_DRAW_TEXT_OPTIONS_CLIP: D2D1_DRAW_TEXT_OPTIONS = 2u32;
793 pub const D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT: D2D1_DRAW_TEXT_OPTIONS = 4u32;
794 pub const D2D1_DRAW_TEXT_OPTIONS_DISABLE_COLOR_BITMAP_SNAPPING: D2D1_DRAW_TEXT_OPTIONS = 8u32;
795 pub const D2D1_DRAW_TEXT_OPTIONS_NONE: D2D1_DRAW_TEXT_OPTIONS = 0u32;
796 pub const D2D1_DRAW_TEXT_OPTIONS_FORCE_DWORD: D2D1_DRAW_TEXT_OPTIONS = 4294967295u32;
797 pub type D2D1_EDGEDETECTION_MODE = u32;
798 pub const D2D1_EDGEDETECTION_MODE_SOBEL: D2D1_EDGEDETECTION_MODE = 0u32;
799 pub const D2D1_EDGEDETECTION_MODE_PREWITT: D2D1_EDGEDETECTION_MODE = 1u32;
800 pub const D2D1_EDGEDETECTION_MODE_FORCE_DWORD: D2D1_EDGEDETECTION_MODE = 4294967295u32;
801 pub type D2D1_EDGEDETECTION_PROP = u32;
802 pub const D2D1_EDGEDETECTION_PROP_STRENGTH: D2D1_EDGEDETECTION_PROP = 0u32;
803 pub const D2D1_EDGEDETECTION_PROP_BLUR_RADIUS: D2D1_EDGEDETECTION_PROP = 1u32;
804 pub const D2D1_EDGEDETECTION_PROP_MODE: D2D1_EDGEDETECTION_PROP = 2u32;
805 pub const D2D1_EDGEDETECTION_PROP_OVERLAY_EDGES: D2D1_EDGEDETECTION_PROP = 3u32;
806 pub const D2D1_EDGEDETECTION_PROP_ALPHA_MODE: D2D1_EDGEDETECTION_PROP = 4u32;
807 pub const D2D1_EDGEDETECTION_PROP_FORCE_DWORD: D2D1_EDGEDETECTION_PROP = 4294967295u32;
808 #[repr(C)]
809 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
810 pub struct D2D1_EFFECT_INPUT_DESCRIPTION {
811     pub effect: ID2D1Effect,
812     pub inputIndex: u32,
813     pub inputRectangle: Common::D2D_RECT_F,
814 }
815 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
816 impl ::core::marker::Copy for D2D1_EFFECT_INPUT_DESCRIPTION {}
817 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
818 impl ::core::clone::Clone for D2D1_EFFECT_INPUT_DESCRIPTION {
clone(&self) -> Self819     fn clone(&self) -> Self {
820         *self
821     }
822 }
823 #[repr(C)]
824 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
825 pub struct D2D1_ELLIPSE {
826     pub point: Common::D2D_POINT_2F,
827     pub radiusX: f32,
828     pub radiusY: f32,
829 }
830 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
831 impl ::core::marker::Copy for D2D1_ELLIPSE {}
832 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
833 impl ::core::clone::Clone for D2D1_ELLIPSE {
clone(&self) -> Self834     fn clone(&self) -> Self {
835         *self
836     }
837 }
838 pub type D2D1_EMBOSS_PROP = u32;
839 pub const D2D1_EMBOSS_PROP_HEIGHT: D2D1_EMBOSS_PROP = 0u32;
840 pub const D2D1_EMBOSS_PROP_DIRECTION: D2D1_EMBOSS_PROP = 1u32;
841 pub const D2D1_EMBOSS_PROP_FORCE_DWORD: D2D1_EMBOSS_PROP = 4294967295u32;
842 pub type D2D1_EXPOSURE_PROP = u32;
843 pub const D2D1_EXPOSURE_PROP_EXPOSURE_VALUE: D2D1_EXPOSURE_PROP = 0u32;
844 pub const D2D1_EXPOSURE_PROP_FORCE_DWORD: D2D1_EXPOSURE_PROP = 4294967295u32;
845 pub type D2D1_EXTEND_MODE = u32;
846 pub const D2D1_EXTEND_MODE_CLAMP: D2D1_EXTEND_MODE = 0u32;
847 pub const D2D1_EXTEND_MODE_WRAP: D2D1_EXTEND_MODE = 1u32;
848 pub const D2D1_EXTEND_MODE_MIRROR: D2D1_EXTEND_MODE = 2u32;
849 pub const D2D1_EXTEND_MODE_FORCE_DWORD: D2D1_EXTEND_MODE = 4294967295u32;
850 #[repr(C)]
851 pub struct D2D1_FACTORY_OPTIONS {
852     pub debugLevel: D2D1_DEBUG_LEVEL,
853 }
854 impl ::core::marker::Copy for D2D1_FACTORY_OPTIONS {}
855 impl ::core::clone::Clone for D2D1_FACTORY_OPTIONS {
clone(&self) -> Self856     fn clone(&self) -> Self {
857         *self
858     }
859 }
860 pub type D2D1_FACTORY_TYPE = u32;
861 pub const D2D1_FACTORY_TYPE_SINGLE_THREADED: D2D1_FACTORY_TYPE = 0u32;
862 pub const D2D1_FACTORY_TYPE_MULTI_THREADED: D2D1_FACTORY_TYPE = 1u32;
863 pub const D2D1_FACTORY_TYPE_FORCE_DWORD: D2D1_FACTORY_TYPE = 4294967295u32;
864 pub type D2D1_FEATURE = u32;
865 pub const D2D1_FEATURE_DOUBLES: D2D1_FEATURE = 0u32;
866 pub const D2D1_FEATURE_D3D10_X_HARDWARE_OPTIONS: D2D1_FEATURE = 1u32;
867 pub const D2D1_FEATURE_FORCE_DWORD: D2D1_FEATURE = 4294967295u32;
868 #[repr(C)]
869 #[cfg(feature = "Win32_Foundation")]
870 pub struct D2D1_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS {
871     pub computeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x: super::super::Foundation::BOOL,
872 }
873 #[cfg(feature = "Win32_Foundation")]
874 impl ::core::marker::Copy for D2D1_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS {}
875 #[cfg(feature = "Win32_Foundation")]
876 impl ::core::clone::Clone for D2D1_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS {
clone(&self) -> Self877     fn clone(&self) -> Self {
878         *self
879     }
880 }
881 #[repr(C)]
882 #[cfg(feature = "Win32_Foundation")]
883 pub struct D2D1_FEATURE_DATA_DOUBLES {
884     pub doublePrecisionFloatShaderOps: super::super::Foundation::BOOL,
885 }
886 #[cfg(feature = "Win32_Foundation")]
887 impl ::core::marker::Copy for D2D1_FEATURE_DATA_DOUBLES {}
888 #[cfg(feature = "Win32_Foundation")]
889 impl ::core::clone::Clone for D2D1_FEATURE_DATA_DOUBLES {
clone(&self) -> Self890     fn clone(&self) -> Self {
891         *self
892     }
893 }
894 pub type D2D1_FEATURE_LEVEL = u32;
895 pub const D2D1_FEATURE_LEVEL_DEFAULT: D2D1_FEATURE_LEVEL = 0u32;
896 pub const D2D1_FEATURE_LEVEL_9: D2D1_FEATURE_LEVEL = 37120u32;
897 pub const D2D1_FEATURE_LEVEL_10: D2D1_FEATURE_LEVEL = 40960u32;
898 pub const D2D1_FEATURE_LEVEL_FORCE_DWORD: D2D1_FEATURE_LEVEL = 4294967295u32;
899 pub type D2D1_FILTER = u32;
900 pub const D2D1_FILTER_MIN_MAG_MIP_POINT: D2D1_FILTER = 0u32;
901 pub const D2D1_FILTER_MIN_MAG_POINT_MIP_LINEAR: D2D1_FILTER = 1u32;
902 pub const D2D1_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT: D2D1_FILTER = 4u32;
903 pub const D2D1_FILTER_MIN_POINT_MAG_MIP_LINEAR: D2D1_FILTER = 5u32;
904 pub const D2D1_FILTER_MIN_LINEAR_MAG_MIP_POINT: D2D1_FILTER = 16u32;
905 pub const D2D1_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR: D2D1_FILTER = 17u32;
906 pub const D2D1_FILTER_MIN_MAG_LINEAR_MIP_POINT: D2D1_FILTER = 20u32;
907 pub const D2D1_FILTER_MIN_MAG_MIP_LINEAR: D2D1_FILTER = 21u32;
908 pub const D2D1_FILTER_ANISOTROPIC: D2D1_FILTER = 85u32;
909 pub const D2D1_FILTER_FORCE_DWORD: D2D1_FILTER = 4294967295u32;
910 pub type D2D1_FLOOD_PROP = u32;
911 pub const D2D1_FLOOD_PROP_COLOR: D2D1_FLOOD_PROP = 0u32;
912 pub const D2D1_FLOOD_PROP_FORCE_DWORD: D2D1_FLOOD_PROP = 4294967295u32;
913 pub type D2D1_GAMMA = u32;
914 pub const D2D1_GAMMA_2_2: D2D1_GAMMA = 0u32;
915 pub const D2D1_GAMMA_1_0: D2D1_GAMMA = 1u32;
916 pub const D2D1_GAMMA_FORCE_DWORD: D2D1_GAMMA = 4294967295u32;
917 pub type D2D1_GAMMA1 = u32;
918 pub const D2D1_GAMMA1_G22: D2D1_GAMMA1 = 0u32;
919 pub const D2D1_GAMMA1_G10: D2D1_GAMMA1 = 1u32;
920 pub const D2D1_GAMMA1_G2084: D2D1_GAMMA1 = 2u32;
921 pub const D2D1_GAMMA1_FORCE_DWORD: D2D1_GAMMA1 = 4294967295u32;
922 pub type D2D1_GAMMATRANSFER_PROP = u32;
923 pub const D2D1_GAMMATRANSFER_PROP_RED_AMPLITUDE: D2D1_GAMMATRANSFER_PROP = 0u32;
924 pub const D2D1_GAMMATRANSFER_PROP_RED_EXPONENT: D2D1_GAMMATRANSFER_PROP = 1u32;
925 pub const D2D1_GAMMATRANSFER_PROP_RED_OFFSET: D2D1_GAMMATRANSFER_PROP = 2u32;
926 pub const D2D1_GAMMATRANSFER_PROP_RED_DISABLE: D2D1_GAMMATRANSFER_PROP = 3u32;
927 pub const D2D1_GAMMATRANSFER_PROP_GREEN_AMPLITUDE: D2D1_GAMMATRANSFER_PROP = 4u32;
928 pub const D2D1_GAMMATRANSFER_PROP_GREEN_EXPONENT: D2D1_GAMMATRANSFER_PROP = 5u32;
929 pub const D2D1_GAMMATRANSFER_PROP_GREEN_OFFSET: D2D1_GAMMATRANSFER_PROP = 6u32;
930 pub const D2D1_GAMMATRANSFER_PROP_GREEN_DISABLE: D2D1_GAMMATRANSFER_PROP = 7u32;
931 pub const D2D1_GAMMATRANSFER_PROP_BLUE_AMPLITUDE: D2D1_GAMMATRANSFER_PROP = 8u32;
932 pub const D2D1_GAMMATRANSFER_PROP_BLUE_EXPONENT: D2D1_GAMMATRANSFER_PROP = 9u32;
933 pub const D2D1_GAMMATRANSFER_PROP_BLUE_OFFSET: D2D1_GAMMATRANSFER_PROP = 10u32;
934 pub const D2D1_GAMMATRANSFER_PROP_BLUE_DISABLE: D2D1_GAMMATRANSFER_PROP = 11u32;
935 pub const D2D1_GAMMATRANSFER_PROP_ALPHA_AMPLITUDE: D2D1_GAMMATRANSFER_PROP = 12u32;
936 pub const D2D1_GAMMATRANSFER_PROP_ALPHA_EXPONENT: D2D1_GAMMATRANSFER_PROP = 13u32;
937 pub const D2D1_GAMMATRANSFER_PROP_ALPHA_OFFSET: D2D1_GAMMATRANSFER_PROP = 14u32;
938 pub const D2D1_GAMMATRANSFER_PROP_ALPHA_DISABLE: D2D1_GAMMATRANSFER_PROP = 15u32;
939 pub const D2D1_GAMMATRANSFER_PROP_CLAMP_OUTPUT: D2D1_GAMMATRANSFER_PROP = 16u32;
940 pub const D2D1_GAMMATRANSFER_PROP_FORCE_DWORD: D2D1_GAMMATRANSFER_PROP = 4294967295u32;
941 pub type D2D1_GAUSSIANBLUR_OPTIMIZATION = u32;
942 pub const D2D1_GAUSSIANBLUR_OPTIMIZATION_SPEED: D2D1_GAUSSIANBLUR_OPTIMIZATION = 0u32;
943 pub const D2D1_GAUSSIANBLUR_OPTIMIZATION_BALANCED: D2D1_GAUSSIANBLUR_OPTIMIZATION = 1u32;
944 pub const D2D1_GAUSSIANBLUR_OPTIMIZATION_QUALITY: D2D1_GAUSSIANBLUR_OPTIMIZATION = 2u32;
945 pub const D2D1_GAUSSIANBLUR_OPTIMIZATION_FORCE_DWORD: D2D1_GAUSSIANBLUR_OPTIMIZATION = 4294967295u32;
946 pub type D2D1_GAUSSIANBLUR_PROP = u32;
947 pub const D2D1_GAUSSIANBLUR_PROP_STANDARD_DEVIATION: D2D1_GAUSSIANBLUR_PROP = 0u32;
948 pub const D2D1_GAUSSIANBLUR_PROP_OPTIMIZATION: D2D1_GAUSSIANBLUR_PROP = 1u32;
949 pub const D2D1_GAUSSIANBLUR_PROP_BORDER_MODE: D2D1_GAUSSIANBLUR_PROP = 2u32;
950 pub const D2D1_GAUSSIANBLUR_PROP_FORCE_DWORD: D2D1_GAUSSIANBLUR_PROP = 4294967295u32;
951 pub type D2D1_GEOMETRY_RELATION = u32;
952 pub const D2D1_GEOMETRY_RELATION_UNKNOWN: D2D1_GEOMETRY_RELATION = 0u32;
953 pub const D2D1_GEOMETRY_RELATION_DISJOINT: D2D1_GEOMETRY_RELATION = 1u32;
954 pub const D2D1_GEOMETRY_RELATION_IS_CONTAINED: D2D1_GEOMETRY_RELATION = 2u32;
955 pub const D2D1_GEOMETRY_RELATION_CONTAINS: D2D1_GEOMETRY_RELATION = 3u32;
956 pub const D2D1_GEOMETRY_RELATION_OVERLAP: D2D1_GEOMETRY_RELATION = 4u32;
957 pub const D2D1_GEOMETRY_RELATION_FORCE_DWORD: D2D1_GEOMETRY_RELATION = 4294967295u32;
958 pub type D2D1_GEOMETRY_SIMPLIFICATION_OPTION = u32;
959 pub const D2D1_GEOMETRY_SIMPLIFICATION_OPTION_CUBICS_AND_LINES: D2D1_GEOMETRY_SIMPLIFICATION_OPTION = 0u32;
960 pub const D2D1_GEOMETRY_SIMPLIFICATION_OPTION_LINES: D2D1_GEOMETRY_SIMPLIFICATION_OPTION = 1u32;
961 pub const D2D1_GEOMETRY_SIMPLIFICATION_OPTION_FORCE_DWORD: D2D1_GEOMETRY_SIMPLIFICATION_OPTION = 4294967295u32;
962 #[repr(C)]
963 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
964 pub struct D2D1_GRADIENT_MESH_PATCH {
965     pub point00: Common::D2D_POINT_2F,
966     pub point01: Common::D2D_POINT_2F,
967     pub point02: Common::D2D_POINT_2F,
968     pub point03: Common::D2D_POINT_2F,
969     pub point10: Common::D2D_POINT_2F,
970     pub point11: Common::D2D_POINT_2F,
971     pub point12: Common::D2D_POINT_2F,
972     pub point13: Common::D2D_POINT_2F,
973     pub point20: Common::D2D_POINT_2F,
974     pub point21: Common::D2D_POINT_2F,
975     pub point22: Common::D2D_POINT_2F,
976     pub point23: Common::D2D_POINT_2F,
977     pub point30: Common::D2D_POINT_2F,
978     pub point31: Common::D2D_POINT_2F,
979     pub point32: Common::D2D_POINT_2F,
980     pub point33: Common::D2D_POINT_2F,
981     pub color00: Common::D2D1_COLOR_F,
982     pub color03: Common::D2D1_COLOR_F,
983     pub color30: Common::D2D1_COLOR_F,
984     pub color33: Common::D2D1_COLOR_F,
985     pub topEdgeMode: D2D1_PATCH_EDGE_MODE,
986     pub leftEdgeMode: D2D1_PATCH_EDGE_MODE,
987     pub bottomEdgeMode: D2D1_PATCH_EDGE_MODE,
988     pub rightEdgeMode: D2D1_PATCH_EDGE_MODE,
989 }
990 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
991 impl ::core::marker::Copy for D2D1_GRADIENT_MESH_PATCH {}
992 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
993 impl ::core::clone::Clone for D2D1_GRADIENT_MESH_PATCH {
clone(&self) -> Self994     fn clone(&self) -> Self {
995         *self
996     }
997 }
998 #[repr(C)]
999 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1000 pub struct D2D1_GRADIENT_STOP {
1001     pub position: f32,
1002     pub color: Common::D2D1_COLOR_F,
1003 }
1004 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1005 impl ::core::marker::Copy for D2D1_GRADIENT_STOP {}
1006 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1007 impl ::core::clone::Clone for D2D1_GRADIENT_STOP {
clone(&self) -> Self1008     fn clone(&self) -> Self {
1009         *self
1010     }
1011 }
1012 pub type D2D1_HDRTONEMAP_DISPLAY_MODE = u32;
1013 pub const D2D1_HDRTONEMAP_DISPLAY_MODE_SDR: D2D1_HDRTONEMAP_DISPLAY_MODE = 0u32;
1014 pub const D2D1_HDRTONEMAP_DISPLAY_MODE_HDR: D2D1_HDRTONEMAP_DISPLAY_MODE = 1u32;
1015 pub const D2D1_HDRTONEMAP_DISPLAY_MODE_FORCE_DWORD: D2D1_HDRTONEMAP_DISPLAY_MODE = 4294967295u32;
1016 pub type D2D1_HDRTONEMAP_PROP = u32;
1017 pub const D2D1_HDRTONEMAP_PROP_INPUT_MAX_LUMINANCE: D2D1_HDRTONEMAP_PROP = 0u32;
1018 pub const D2D1_HDRTONEMAP_PROP_OUTPUT_MAX_LUMINANCE: D2D1_HDRTONEMAP_PROP = 1u32;
1019 pub const D2D1_HDRTONEMAP_PROP_DISPLAY_MODE: D2D1_HDRTONEMAP_PROP = 2u32;
1020 pub const D2D1_HDRTONEMAP_PROP_FORCE_DWORD: D2D1_HDRTONEMAP_PROP = 4294967295u32;
1021 pub type D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA = u32;
1022 pub const D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_LINEAR: D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA = 0u32;
1023 pub const D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_SRGB: D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA = 1u32;
1024 pub const D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_FORCE_DWORD: D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA = 4294967295u32;
1025 pub type D2D1_HIGHLIGHTSANDSHADOWS_PROP = u32;
1026 pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_HIGHLIGHTS: D2D1_HIGHLIGHTSANDSHADOWS_PROP = 0u32;
1027 pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_SHADOWS: D2D1_HIGHLIGHTSANDSHADOWS_PROP = 1u32;
1028 pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_CLARITY: D2D1_HIGHLIGHTSANDSHADOWS_PROP = 2u32;
1029 pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_INPUT_GAMMA: D2D1_HIGHLIGHTSANDSHADOWS_PROP = 3u32;
1030 pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_MASK_BLUR_RADIUS: D2D1_HIGHLIGHTSANDSHADOWS_PROP = 4u32;
1031 pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_FORCE_DWORD: D2D1_HIGHLIGHTSANDSHADOWS_PROP = 4294967295u32;
1032 pub type D2D1_HISTOGRAM_PROP = u32;
1033 pub const D2D1_HISTOGRAM_PROP_NUM_BINS: D2D1_HISTOGRAM_PROP = 0u32;
1034 pub const D2D1_HISTOGRAM_PROP_CHANNEL_SELECT: D2D1_HISTOGRAM_PROP = 1u32;
1035 pub const D2D1_HISTOGRAM_PROP_HISTOGRAM_OUTPUT: D2D1_HISTOGRAM_PROP = 2u32;
1036 pub const D2D1_HISTOGRAM_PROP_FORCE_DWORD: D2D1_HISTOGRAM_PROP = 4294967295u32;
1037 pub type D2D1_HUEROTATION_PROP = u32;
1038 pub const D2D1_HUEROTATION_PROP_ANGLE: D2D1_HUEROTATION_PROP = 0u32;
1039 pub const D2D1_HUEROTATION_PROP_FORCE_DWORD: D2D1_HUEROTATION_PROP = 4294967295u32;
1040 pub type D2D1_HUETORGB_INPUT_COLOR_SPACE = u32;
1041 pub const D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_VALUE: D2D1_HUETORGB_INPUT_COLOR_SPACE = 0u32;
1042 pub const D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS: D2D1_HUETORGB_INPUT_COLOR_SPACE = 1u32;
1043 pub const D2D1_HUETORGB_INPUT_COLOR_SPACE_FORCE_DWORD: D2D1_HUETORGB_INPUT_COLOR_SPACE = 4294967295u32;
1044 pub type D2D1_HUETORGB_PROP = u32;
1045 pub const D2D1_HUETORGB_PROP_INPUT_COLOR_SPACE: D2D1_HUETORGB_PROP = 0u32;
1046 pub const D2D1_HUETORGB_PROP_FORCE_DWORD: D2D1_HUETORGB_PROP = 4294967295u32;
1047 #[repr(C)]
1048 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))]
1049 pub struct D2D1_HWND_RENDER_TARGET_PROPERTIES {
1050     pub hwnd: super::super::Foundation::HWND,
1051     pub pixelSize: Common::D2D_SIZE_U,
1052     pub presentOptions: D2D1_PRESENT_OPTIONS,
1053 }
1054 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))]
1055 impl ::core::marker::Copy for D2D1_HWND_RENDER_TARGET_PROPERTIES {}
1056 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D_Common"))]
1057 impl ::core::clone::Clone for D2D1_HWND_RENDER_TARGET_PROPERTIES {
clone(&self) -> Self1058     fn clone(&self) -> Self {
1059         *self
1060     }
1061 }
1062 #[repr(C)]
1063 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1064 pub struct D2D1_IMAGE_BRUSH_PROPERTIES {
1065     pub sourceRectangle: Common::D2D_RECT_F,
1066     pub extendModeX: D2D1_EXTEND_MODE,
1067     pub extendModeY: D2D1_EXTEND_MODE,
1068     pub interpolationMode: D2D1_INTERPOLATION_MODE,
1069 }
1070 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1071 impl ::core::marker::Copy for D2D1_IMAGE_BRUSH_PROPERTIES {}
1072 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1073 impl ::core::clone::Clone for D2D1_IMAGE_BRUSH_PROPERTIES {
clone(&self) -> Self1074     fn clone(&self) -> Self {
1075         *self
1076     }
1077 }
1078 pub type D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS = u32;
1079 pub const D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_NONE: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS = 0u32;
1080 pub const D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_LOW_QUALITY_PRIMARY_CONVERSION: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS = 1u32;
1081 pub const D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_FORCE_DWORD: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS = 4294967295u32;
1082 pub type D2D1_IMAGE_SOURCE_LOADING_OPTIONS = u32;
1083 pub const D2D1_IMAGE_SOURCE_LOADING_OPTIONS_NONE: D2D1_IMAGE_SOURCE_LOADING_OPTIONS = 0u32;
1084 pub const D2D1_IMAGE_SOURCE_LOADING_OPTIONS_RELEASE_SOURCE: D2D1_IMAGE_SOURCE_LOADING_OPTIONS = 1u32;
1085 pub const D2D1_IMAGE_SOURCE_LOADING_OPTIONS_CACHE_ON_DEMAND: D2D1_IMAGE_SOURCE_LOADING_OPTIONS = 2u32;
1086 pub const D2D1_IMAGE_SOURCE_LOADING_OPTIONS_FORCE_DWORD: D2D1_IMAGE_SOURCE_LOADING_OPTIONS = 4294967295u32;
1087 #[repr(C)]
1088 pub struct D2D1_INK_BEZIER_SEGMENT {
1089     pub point1: D2D1_INK_POINT,
1090     pub point2: D2D1_INK_POINT,
1091     pub point3: D2D1_INK_POINT,
1092 }
1093 impl ::core::marker::Copy for D2D1_INK_BEZIER_SEGMENT {}
1094 impl ::core::clone::Clone for D2D1_INK_BEZIER_SEGMENT {
clone(&self) -> Self1095     fn clone(&self) -> Self {
1096         *self
1097     }
1098 }
1099 pub type D2D1_INK_NIB_SHAPE = u32;
1100 pub const D2D1_INK_NIB_SHAPE_ROUND: D2D1_INK_NIB_SHAPE = 0u32;
1101 pub const D2D1_INK_NIB_SHAPE_SQUARE: D2D1_INK_NIB_SHAPE = 1u32;
1102 pub const D2D1_INK_NIB_SHAPE_FORCE_DWORD: D2D1_INK_NIB_SHAPE = 4294967295u32;
1103 #[repr(C)]
1104 pub struct D2D1_INK_POINT {
1105     pub x: f32,
1106     pub y: f32,
1107     pub radius: f32,
1108 }
1109 impl ::core::marker::Copy for D2D1_INK_POINT {}
1110 impl ::core::clone::Clone for D2D1_INK_POINT {
clone(&self) -> Self1111     fn clone(&self) -> Self {
1112         *self
1113     }
1114 }
1115 #[repr(C)]
1116 #[cfg(feature = "Foundation_Numerics")]
1117 pub struct D2D1_INK_STYLE_PROPERTIES {
1118     pub nibShape: D2D1_INK_NIB_SHAPE,
1119     pub nibTransform: super::super::super::Foundation::Numerics::Matrix3x2,
1120 }
1121 #[cfg(feature = "Foundation_Numerics")]
1122 impl ::core::marker::Copy for D2D1_INK_STYLE_PROPERTIES {}
1123 #[cfg(feature = "Foundation_Numerics")]
1124 impl ::core::clone::Clone for D2D1_INK_STYLE_PROPERTIES {
clone(&self) -> Self1125     fn clone(&self) -> Self {
1126         *self
1127     }
1128 }
1129 #[repr(C)]
1130 pub struct D2D1_INPUT_DESCRIPTION {
1131     pub filter: D2D1_FILTER,
1132     pub levelOfDetailCount: u32,
1133 }
1134 impl ::core::marker::Copy for D2D1_INPUT_DESCRIPTION {}
1135 impl ::core::clone::Clone for D2D1_INPUT_DESCRIPTION {
clone(&self) -> Self1136     fn clone(&self) -> Self {
1137         *self
1138     }
1139 }
1140 #[repr(C)]
1141 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))]
1142 pub struct D2D1_INPUT_ELEMENT_DESC {
1143     pub semanticName: super::super::Foundation::PSTR,
1144     pub semanticIndex: u32,
1145     pub format: super::Dxgi::Common::DXGI_FORMAT,
1146     pub inputSlot: u32,
1147     pub alignedByteOffset: u32,
1148 }
1149 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))]
1150 impl ::core::marker::Copy for D2D1_INPUT_ELEMENT_DESC {}
1151 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))]
1152 impl ::core::clone::Clone for D2D1_INPUT_ELEMENT_DESC {
clone(&self) -> Self1153     fn clone(&self) -> Self {
1154         *self
1155     }
1156 }
1157 pub type D2D1_INTERPOLATION_MODE = u32;
1158 pub const D2D1_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_INTERPOLATION_MODE = 0u32;
1159 pub const D2D1_INTERPOLATION_MODE_LINEAR: D2D1_INTERPOLATION_MODE = 1u32;
1160 pub const D2D1_INTERPOLATION_MODE_CUBIC: D2D1_INTERPOLATION_MODE = 2u32;
1161 pub const D2D1_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_INTERPOLATION_MODE = 3u32;
1162 pub const D2D1_INTERPOLATION_MODE_ANISOTROPIC: D2D1_INTERPOLATION_MODE = 4u32;
1163 pub const D2D1_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_INTERPOLATION_MODE = 5u32;
1164 pub const D2D1_INTERPOLATION_MODE_FORCE_DWORD: D2D1_INTERPOLATION_MODE = 4294967295u32;
1165 pub type D2D1_INTERPOLATION_MODE_DEFINITION = i32;
1166 pub const D2D1_INTERPOLATION_MODE_DEFINITION_NEAREST_NEIGHBOR: D2D1_INTERPOLATION_MODE_DEFINITION = 0i32;
1167 pub const D2D1_INTERPOLATION_MODE_DEFINITION_LINEAR: D2D1_INTERPOLATION_MODE_DEFINITION = 1i32;
1168 pub const D2D1_INTERPOLATION_MODE_DEFINITION_CUBIC: D2D1_INTERPOLATION_MODE_DEFINITION = 2i32;
1169 pub const D2D1_INTERPOLATION_MODE_DEFINITION_MULTI_SAMPLE_LINEAR: D2D1_INTERPOLATION_MODE_DEFINITION = 3i32;
1170 pub const D2D1_INTERPOLATION_MODE_DEFINITION_ANISOTROPIC: D2D1_INTERPOLATION_MODE_DEFINITION = 4i32;
1171 pub const D2D1_INTERPOLATION_MODE_DEFINITION_HIGH_QUALITY_CUBIC: D2D1_INTERPOLATION_MODE_DEFINITION = 5i32;
1172 pub const D2D1_INTERPOLATION_MODE_DEFINITION_FANT: D2D1_INTERPOLATION_MODE_DEFINITION = 6i32;
1173 pub const D2D1_INTERPOLATION_MODE_DEFINITION_MIPMAP_LINEAR: D2D1_INTERPOLATION_MODE_DEFINITION = 7i32;
1174 pub type D2D1_LAYER_OPTIONS = u32;
1175 pub const D2D1_LAYER_OPTIONS_NONE: D2D1_LAYER_OPTIONS = 0u32;
1176 pub const D2D1_LAYER_OPTIONS_INITIALIZE_FOR_CLEARTYPE: D2D1_LAYER_OPTIONS = 1u32;
1177 pub const D2D1_LAYER_OPTIONS_FORCE_DWORD: D2D1_LAYER_OPTIONS = 4294967295u32;
1178 pub type D2D1_LAYER_OPTIONS1 = u32;
1179 pub const D2D1_LAYER_OPTIONS1_NONE: D2D1_LAYER_OPTIONS1 = 0u32;
1180 pub const D2D1_LAYER_OPTIONS1_INITIALIZE_FROM_BACKGROUND: D2D1_LAYER_OPTIONS1 = 1u32;
1181 pub const D2D1_LAYER_OPTIONS1_IGNORE_ALPHA: D2D1_LAYER_OPTIONS1 = 2u32;
1182 pub const D2D1_LAYER_OPTIONS1_FORCE_DWORD: D2D1_LAYER_OPTIONS1 = 4294967295u32;
1183 #[repr(C)]
1184 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))]
1185 pub struct D2D1_LAYER_PARAMETERS {
1186     pub contentBounds: Common::D2D_RECT_F,
1187     pub geometricMask: ID2D1Geometry,
1188     pub maskAntialiasMode: D2D1_ANTIALIAS_MODE,
1189     pub maskTransform: super::super::super::Foundation::Numerics::Matrix3x2,
1190     pub opacity: f32,
1191     pub opacityBrush: ID2D1Brush,
1192     pub layerOptions: D2D1_LAYER_OPTIONS,
1193 }
1194 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))]
1195 impl ::core::marker::Copy for D2D1_LAYER_PARAMETERS {}
1196 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))]
1197 impl ::core::clone::Clone for D2D1_LAYER_PARAMETERS {
clone(&self) -> Self1198     fn clone(&self) -> Self {
1199         *self
1200     }
1201 }
1202 #[repr(C)]
1203 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))]
1204 pub struct D2D1_LAYER_PARAMETERS1 {
1205     pub contentBounds: Common::D2D_RECT_F,
1206     pub geometricMask: ID2D1Geometry,
1207     pub maskAntialiasMode: D2D1_ANTIALIAS_MODE,
1208     pub maskTransform: super::super::super::Foundation::Numerics::Matrix3x2,
1209     pub opacity: f32,
1210     pub opacityBrush: ID2D1Brush,
1211     pub layerOptions: D2D1_LAYER_OPTIONS1,
1212 }
1213 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))]
1214 impl ::core::marker::Copy for D2D1_LAYER_PARAMETERS1 {}
1215 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))]
1216 impl ::core::clone::Clone for D2D1_LAYER_PARAMETERS1 {
clone(&self) -> Self1217     fn clone(&self) -> Self {
1218         *self
1219     }
1220 }
1221 pub type D2D1_LINEARTRANSFER_PROP = u32;
1222 pub const D2D1_LINEARTRANSFER_PROP_RED_Y_INTERCEPT: D2D1_LINEARTRANSFER_PROP = 0u32;
1223 pub const D2D1_LINEARTRANSFER_PROP_RED_SLOPE: D2D1_LINEARTRANSFER_PROP = 1u32;
1224 pub const D2D1_LINEARTRANSFER_PROP_RED_DISABLE: D2D1_LINEARTRANSFER_PROP = 2u32;
1225 pub const D2D1_LINEARTRANSFER_PROP_GREEN_Y_INTERCEPT: D2D1_LINEARTRANSFER_PROP = 3u32;
1226 pub const D2D1_LINEARTRANSFER_PROP_GREEN_SLOPE: D2D1_LINEARTRANSFER_PROP = 4u32;
1227 pub const D2D1_LINEARTRANSFER_PROP_GREEN_DISABLE: D2D1_LINEARTRANSFER_PROP = 5u32;
1228 pub const D2D1_LINEARTRANSFER_PROP_BLUE_Y_INTERCEPT: D2D1_LINEARTRANSFER_PROP = 6u32;
1229 pub const D2D1_LINEARTRANSFER_PROP_BLUE_SLOPE: D2D1_LINEARTRANSFER_PROP = 7u32;
1230 pub const D2D1_LINEARTRANSFER_PROP_BLUE_DISABLE: D2D1_LINEARTRANSFER_PROP = 8u32;
1231 pub const D2D1_LINEARTRANSFER_PROP_ALPHA_Y_INTERCEPT: D2D1_LINEARTRANSFER_PROP = 9u32;
1232 pub const D2D1_LINEARTRANSFER_PROP_ALPHA_SLOPE: D2D1_LINEARTRANSFER_PROP = 10u32;
1233 pub const D2D1_LINEARTRANSFER_PROP_ALPHA_DISABLE: D2D1_LINEARTRANSFER_PROP = 11u32;
1234 pub const D2D1_LINEARTRANSFER_PROP_CLAMP_OUTPUT: D2D1_LINEARTRANSFER_PROP = 12u32;
1235 pub const D2D1_LINEARTRANSFER_PROP_FORCE_DWORD: D2D1_LINEARTRANSFER_PROP = 4294967295u32;
1236 #[repr(C)]
1237 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1238 pub struct D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES {
1239     pub startPoint: Common::D2D_POINT_2F,
1240     pub endPoint: Common::D2D_POINT_2F,
1241 }
1242 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1243 impl ::core::marker::Copy for D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES {}
1244 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1245 impl ::core::clone::Clone for D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES {
clone(&self) -> Self1246     fn clone(&self) -> Self {
1247         *self
1248     }
1249 }
1250 pub type D2D1_LINE_JOIN = u32;
1251 pub const D2D1_LINE_JOIN_MITER: D2D1_LINE_JOIN = 0u32;
1252 pub const D2D1_LINE_JOIN_BEVEL: D2D1_LINE_JOIN = 1u32;
1253 pub const D2D1_LINE_JOIN_ROUND: D2D1_LINE_JOIN = 2u32;
1254 pub const D2D1_LINE_JOIN_MITER_OR_BEVEL: D2D1_LINE_JOIN = 3u32;
1255 pub const D2D1_LINE_JOIN_FORCE_DWORD: D2D1_LINE_JOIN = 4294967295u32;
1256 pub type D2D1_LOOKUPTABLE3D_PROP = u32;
1257 pub const D2D1_LOOKUPTABLE3D_PROP_LUT: D2D1_LOOKUPTABLE3D_PROP = 0u32;
1258 pub const D2D1_LOOKUPTABLE3D_PROP_ALPHA_MODE: D2D1_LOOKUPTABLE3D_PROP = 1u32;
1259 pub const D2D1_LOOKUPTABLE3D_PROP_FORCE_DWORD: D2D1_LOOKUPTABLE3D_PROP = 4294967295u32;
1260 #[repr(C)]
1261 pub struct D2D1_MAPPED_RECT {
1262     pub pitch: u32,
1263     pub bits: *mut u8,
1264 }
1265 impl ::core::marker::Copy for D2D1_MAPPED_RECT {}
1266 impl ::core::clone::Clone for D2D1_MAPPED_RECT {
clone(&self) -> Self1267     fn clone(&self) -> Self {
1268         *self
1269     }
1270 }
1271 pub type D2D1_MAP_OPTIONS = u32;
1272 pub const D2D1_MAP_OPTIONS_NONE: D2D1_MAP_OPTIONS = 0u32;
1273 pub const D2D1_MAP_OPTIONS_READ: D2D1_MAP_OPTIONS = 1u32;
1274 pub const D2D1_MAP_OPTIONS_WRITE: D2D1_MAP_OPTIONS = 2u32;
1275 pub const D2D1_MAP_OPTIONS_DISCARD: D2D1_MAP_OPTIONS = 4u32;
1276 pub const D2D1_MAP_OPTIONS_FORCE_DWORD: D2D1_MAP_OPTIONS = 4294967295u32;
1277 pub type D2D1_MORPHOLOGY_MODE = u32;
1278 pub const D2D1_MORPHOLOGY_MODE_ERODE: D2D1_MORPHOLOGY_MODE = 0u32;
1279 pub const D2D1_MORPHOLOGY_MODE_DILATE: D2D1_MORPHOLOGY_MODE = 1u32;
1280 pub const D2D1_MORPHOLOGY_MODE_FORCE_DWORD: D2D1_MORPHOLOGY_MODE = 4294967295u32;
1281 pub type D2D1_MORPHOLOGY_PROP = u32;
1282 pub const D2D1_MORPHOLOGY_PROP_MODE: D2D1_MORPHOLOGY_PROP = 0u32;
1283 pub const D2D1_MORPHOLOGY_PROP_WIDTH: D2D1_MORPHOLOGY_PROP = 1u32;
1284 pub const D2D1_MORPHOLOGY_PROP_HEIGHT: D2D1_MORPHOLOGY_PROP = 2u32;
1285 pub const D2D1_MORPHOLOGY_PROP_FORCE_DWORD: D2D1_MORPHOLOGY_PROP = 4294967295u32;
1286 pub type D2D1_OPACITYMETADATA_PROP = u32;
1287 pub const D2D1_OPACITYMETADATA_PROP_INPUT_OPAQUE_RECT: D2D1_OPACITYMETADATA_PROP = 0u32;
1288 pub const D2D1_OPACITYMETADATA_PROP_FORCE_DWORD: D2D1_OPACITYMETADATA_PROP = 4294967295u32;
1289 pub type D2D1_OPACITY_MASK_CONTENT = u32;
1290 pub const D2D1_OPACITY_MASK_CONTENT_GRAPHICS: D2D1_OPACITY_MASK_CONTENT = 0u32;
1291 pub const D2D1_OPACITY_MASK_CONTENT_TEXT_NATURAL: D2D1_OPACITY_MASK_CONTENT = 1u32;
1292 pub const D2D1_OPACITY_MASK_CONTENT_TEXT_GDI_COMPATIBLE: D2D1_OPACITY_MASK_CONTENT = 2u32;
1293 pub const D2D1_OPACITY_MASK_CONTENT_FORCE_DWORD: D2D1_OPACITY_MASK_CONTENT = 4294967295u32;
1294 pub type D2D1_OPACITY_PROP = u32;
1295 pub const D2D1_OPACITY_PROP_OPACITY: D2D1_OPACITY_PROP = 0u32;
1296 pub const D2D1_OPACITY_PROP_FORCE_DWORD: D2D1_OPACITY_PROP = 4294967295u32;
1297 pub type D2D1_ORIENTATION = u32;
1298 pub const D2D1_ORIENTATION_DEFAULT: D2D1_ORIENTATION = 1u32;
1299 pub const D2D1_ORIENTATION_FLIP_HORIZONTAL: D2D1_ORIENTATION = 2u32;
1300 pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE180: D2D1_ORIENTATION = 3u32;
1301 pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL: D2D1_ORIENTATION = 4u32;
1302 pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL: D2D1_ORIENTATION = 5u32;
1303 pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE270: D2D1_ORIENTATION = 6u32;
1304 pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL: D2D1_ORIENTATION = 7u32;
1305 pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE90: D2D1_ORIENTATION = 8u32;
1306 pub const D2D1_ORIENTATION_FORCE_DWORD: D2D1_ORIENTATION = 4294967295u32;
1307 pub type D2D1_PATCH_EDGE_MODE = u32;
1308 pub const D2D1_PATCH_EDGE_MODE_ALIASED: D2D1_PATCH_EDGE_MODE = 0u32;
1309 pub const D2D1_PATCH_EDGE_MODE_ANTIALIASED: D2D1_PATCH_EDGE_MODE = 1u32;
1310 pub const D2D1_PATCH_EDGE_MODE_ALIASED_INFLATED: D2D1_PATCH_EDGE_MODE = 2u32;
1311 pub const D2D1_PATCH_EDGE_MODE_FORCE_DWORD: D2D1_PATCH_EDGE_MODE = 4294967295u32;
1312 pub type D2D1_PIXEL_OPTIONS = u32;
1313 pub const D2D1_PIXEL_OPTIONS_NONE: D2D1_PIXEL_OPTIONS = 0u32;
1314 pub const D2D1_PIXEL_OPTIONS_TRIVIAL_SAMPLING: D2D1_PIXEL_OPTIONS = 1u32;
1315 pub const D2D1_PIXEL_OPTIONS_FORCE_DWORD: D2D1_PIXEL_OPTIONS = 4294967295u32;
1316 pub type D2D1_POINTDIFFUSE_PROP = u32;
1317 pub const D2D1_POINTDIFFUSE_PROP_LIGHT_POSITION: D2D1_POINTDIFFUSE_PROP = 0u32;
1318 pub const D2D1_POINTDIFFUSE_PROP_DIFFUSE_CONSTANT: D2D1_POINTDIFFUSE_PROP = 1u32;
1319 pub const D2D1_POINTDIFFUSE_PROP_SURFACE_SCALE: D2D1_POINTDIFFUSE_PROP = 2u32;
1320 pub const D2D1_POINTDIFFUSE_PROP_COLOR: D2D1_POINTDIFFUSE_PROP = 3u32;
1321 pub const D2D1_POINTDIFFUSE_PROP_KERNEL_UNIT_LENGTH: D2D1_POINTDIFFUSE_PROP = 4u32;
1322 pub const D2D1_POINTDIFFUSE_PROP_SCALE_MODE: D2D1_POINTDIFFUSE_PROP = 5u32;
1323 pub const D2D1_POINTDIFFUSE_PROP_FORCE_DWORD: D2D1_POINTDIFFUSE_PROP = 4294967295u32;
1324 pub type D2D1_POINTDIFFUSE_SCALE_MODE = u32;
1325 pub const D2D1_POINTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_POINTDIFFUSE_SCALE_MODE = 0u32;
1326 pub const D2D1_POINTDIFFUSE_SCALE_MODE_LINEAR: D2D1_POINTDIFFUSE_SCALE_MODE = 1u32;
1327 pub const D2D1_POINTDIFFUSE_SCALE_MODE_CUBIC: D2D1_POINTDIFFUSE_SCALE_MODE = 2u32;
1328 pub const D2D1_POINTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_POINTDIFFUSE_SCALE_MODE = 3u32;
1329 pub const D2D1_POINTDIFFUSE_SCALE_MODE_ANISOTROPIC: D2D1_POINTDIFFUSE_SCALE_MODE = 4u32;
1330 pub const D2D1_POINTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_POINTDIFFUSE_SCALE_MODE = 5u32;
1331 pub const D2D1_POINTDIFFUSE_SCALE_MODE_FORCE_DWORD: D2D1_POINTDIFFUSE_SCALE_MODE = 4294967295u32;
1332 pub type D2D1_POINTSPECULAR_PROP = u32;
1333 pub const D2D1_POINTSPECULAR_PROP_LIGHT_POSITION: D2D1_POINTSPECULAR_PROP = 0u32;
1334 pub const D2D1_POINTSPECULAR_PROP_SPECULAR_EXPONENT: D2D1_POINTSPECULAR_PROP = 1u32;
1335 pub const D2D1_POINTSPECULAR_PROP_SPECULAR_CONSTANT: D2D1_POINTSPECULAR_PROP = 2u32;
1336 pub const D2D1_POINTSPECULAR_PROP_SURFACE_SCALE: D2D1_POINTSPECULAR_PROP = 3u32;
1337 pub const D2D1_POINTSPECULAR_PROP_COLOR: D2D1_POINTSPECULAR_PROP = 4u32;
1338 pub const D2D1_POINTSPECULAR_PROP_KERNEL_UNIT_LENGTH: D2D1_POINTSPECULAR_PROP = 5u32;
1339 pub const D2D1_POINTSPECULAR_PROP_SCALE_MODE: D2D1_POINTSPECULAR_PROP = 6u32;
1340 pub const D2D1_POINTSPECULAR_PROP_FORCE_DWORD: D2D1_POINTSPECULAR_PROP = 4294967295u32;
1341 pub type D2D1_POINTSPECULAR_SCALE_MODE = u32;
1342 pub const D2D1_POINTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_POINTSPECULAR_SCALE_MODE = 0u32;
1343 pub const D2D1_POINTSPECULAR_SCALE_MODE_LINEAR: D2D1_POINTSPECULAR_SCALE_MODE = 1u32;
1344 pub const D2D1_POINTSPECULAR_SCALE_MODE_CUBIC: D2D1_POINTSPECULAR_SCALE_MODE = 2u32;
1345 pub const D2D1_POINTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_POINTSPECULAR_SCALE_MODE = 3u32;
1346 pub const D2D1_POINTSPECULAR_SCALE_MODE_ANISOTROPIC: D2D1_POINTSPECULAR_SCALE_MODE = 4u32;
1347 pub const D2D1_POINTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_POINTSPECULAR_SCALE_MODE = 5u32;
1348 pub const D2D1_POINTSPECULAR_SCALE_MODE_FORCE_DWORD: D2D1_POINTSPECULAR_SCALE_MODE = 4294967295u32;
1349 #[repr(C)]
1350 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1351 pub struct D2D1_POINT_DESCRIPTION {
1352     pub point: Common::D2D_POINT_2F,
1353     pub unitTangentVector: Common::D2D_POINT_2F,
1354     pub endSegment: u32,
1355     pub endFigure: u32,
1356     pub lengthToEndSegment: f32,
1357 }
1358 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1359 impl ::core::marker::Copy for D2D1_POINT_DESCRIPTION {}
1360 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1361 impl ::core::clone::Clone for D2D1_POINT_DESCRIPTION {
clone(&self) -> Self1362     fn clone(&self) -> Self {
1363         *self
1364     }
1365 }
1366 pub type D2D1_POSTERIZE_PROP = u32;
1367 pub const D2D1_POSTERIZE_PROP_RED_VALUE_COUNT: D2D1_POSTERIZE_PROP = 0u32;
1368 pub const D2D1_POSTERIZE_PROP_GREEN_VALUE_COUNT: D2D1_POSTERIZE_PROP = 1u32;
1369 pub const D2D1_POSTERIZE_PROP_BLUE_VALUE_COUNT: D2D1_POSTERIZE_PROP = 2u32;
1370 pub const D2D1_POSTERIZE_PROP_FORCE_DWORD: D2D1_POSTERIZE_PROP = 4294967295u32;
1371 pub type D2D1_PRESENT_OPTIONS = u32;
1372 pub const D2D1_PRESENT_OPTIONS_NONE: D2D1_PRESENT_OPTIONS = 0u32;
1373 pub const D2D1_PRESENT_OPTIONS_RETAIN_CONTENTS: D2D1_PRESENT_OPTIONS = 1u32;
1374 pub const D2D1_PRESENT_OPTIONS_IMMEDIATELY: D2D1_PRESENT_OPTIONS = 2u32;
1375 pub const D2D1_PRESENT_OPTIONS_FORCE_DWORD: D2D1_PRESENT_OPTIONS = 4294967295u32;
1376 pub type D2D1_PRIMITIVE_BLEND = u32;
1377 pub const D2D1_PRIMITIVE_BLEND_SOURCE_OVER: D2D1_PRIMITIVE_BLEND = 0u32;
1378 pub const D2D1_PRIMITIVE_BLEND_COPY: D2D1_PRIMITIVE_BLEND = 1u32;
1379 pub const D2D1_PRIMITIVE_BLEND_MIN: D2D1_PRIMITIVE_BLEND = 2u32;
1380 pub const D2D1_PRIMITIVE_BLEND_ADD: D2D1_PRIMITIVE_BLEND = 3u32;
1381 pub const D2D1_PRIMITIVE_BLEND_MAX: D2D1_PRIMITIVE_BLEND = 4u32;
1382 pub const D2D1_PRIMITIVE_BLEND_FORCE_DWORD: D2D1_PRIMITIVE_BLEND = 4294967295u32;
1383 #[repr(C)]
1384 pub struct D2D1_PRINT_CONTROL_PROPERTIES {
1385     pub fontSubset: D2D1_PRINT_FONT_SUBSET_MODE,
1386     pub rasterDPI: f32,
1387     pub colorSpace: D2D1_COLOR_SPACE,
1388 }
1389 impl ::core::marker::Copy for D2D1_PRINT_CONTROL_PROPERTIES {}
1390 impl ::core::clone::Clone for D2D1_PRINT_CONTROL_PROPERTIES {
clone(&self) -> Self1391     fn clone(&self) -> Self {
1392         *self
1393     }
1394 }
1395 pub type D2D1_PRINT_FONT_SUBSET_MODE = u32;
1396 pub const D2D1_PRINT_FONT_SUBSET_MODE_DEFAULT: D2D1_PRINT_FONT_SUBSET_MODE = 0u32;
1397 pub const D2D1_PRINT_FONT_SUBSET_MODE_EACHPAGE: D2D1_PRINT_FONT_SUBSET_MODE = 1u32;
1398 pub const D2D1_PRINT_FONT_SUBSET_MODE_NONE: D2D1_PRINT_FONT_SUBSET_MODE = 2u32;
1399 pub const D2D1_PRINT_FONT_SUBSET_MODE_FORCE_DWORD: D2D1_PRINT_FONT_SUBSET_MODE = 4294967295u32;
1400 pub type D2D1_PROPERTY = u32;
1401 pub const D2D1_PROPERTY_CLSID: D2D1_PROPERTY = 2147483648u32;
1402 pub const D2D1_PROPERTY_DISPLAYNAME: D2D1_PROPERTY = 2147483649u32;
1403 pub const D2D1_PROPERTY_AUTHOR: D2D1_PROPERTY = 2147483650u32;
1404 pub const D2D1_PROPERTY_CATEGORY: D2D1_PROPERTY = 2147483651u32;
1405 pub const D2D1_PROPERTY_DESCRIPTION: D2D1_PROPERTY = 2147483652u32;
1406 pub const D2D1_PROPERTY_INPUTS: D2D1_PROPERTY = 2147483653u32;
1407 pub const D2D1_PROPERTY_CACHED: D2D1_PROPERTY = 2147483654u32;
1408 pub const D2D1_PROPERTY_PRECISION: D2D1_PROPERTY = 2147483655u32;
1409 pub const D2D1_PROPERTY_MIN_INPUTS: D2D1_PROPERTY = 2147483656u32;
1410 pub const D2D1_PROPERTY_MAX_INPUTS: D2D1_PROPERTY = 2147483657u32;
1411 pub const D2D1_PROPERTY_FORCE_DWORD: D2D1_PROPERTY = 4294967295u32;
1412 #[repr(C)]
1413 #[cfg(feature = "Win32_Foundation")]
1414 pub struct D2D1_PROPERTY_BINDING {
1415     pub propertyName: super::super::Foundation::PWSTR,
1416     pub setFunction: PD2D1_PROPERTY_SET_FUNCTION,
1417     pub getFunction: PD2D1_PROPERTY_GET_FUNCTION,
1418 }
1419 #[cfg(feature = "Win32_Foundation")]
1420 impl ::core::marker::Copy for D2D1_PROPERTY_BINDING {}
1421 #[cfg(feature = "Win32_Foundation")]
1422 impl ::core::clone::Clone for D2D1_PROPERTY_BINDING {
clone(&self) -> Self1423     fn clone(&self) -> Self {
1424         *self
1425     }
1426 }
1427 pub type D2D1_PROPERTY_TYPE = u32;
1428 pub const D2D1_PROPERTY_TYPE_UNKNOWN: D2D1_PROPERTY_TYPE = 0u32;
1429 pub const D2D1_PROPERTY_TYPE_STRING: D2D1_PROPERTY_TYPE = 1u32;
1430 pub const D2D1_PROPERTY_TYPE_BOOL: D2D1_PROPERTY_TYPE = 2u32;
1431 pub const D2D1_PROPERTY_TYPE_UINT32: D2D1_PROPERTY_TYPE = 3u32;
1432 pub const D2D1_PROPERTY_TYPE_INT32: D2D1_PROPERTY_TYPE = 4u32;
1433 pub const D2D1_PROPERTY_TYPE_FLOAT: D2D1_PROPERTY_TYPE = 5u32;
1434 pub const D2D1_PROPERTY_TYPE_VECTOR2: D2D1_PROPERTY_TYPE = 6u32;
1435 pub const D2D1_PROPERTY_TYPE_VECTOR3: D2D1_PROPERTY_TYPE = 7u32;
1436 pub const D2D1_PROPERTY_TYPE_VECTOR4: D2D1_PROPERTY_TYPE = 8u32;
1437 pub const D2D1_PROPERTY_TYPE_BLOB: D2D1_PROPERTY_TYPE = 9u32;
1438 pub const D2D1_PROPERTY_TYPE_IUNKNOWN: D2D1_PROPERTY_TYPE = 10u32;
1439 pub const D2D1_PROPERTY_TYPE_ENUM: D2D1_PROPERTY_TYPE = 11u32;
1440 pub const D2D1_PROPERTY_TYPE_ARRAY: D2D1_PROPERTY_TYPE = 12u32;
1441 pub const D2D1_PROPERTY_TYPE_CLSID: D2D1_PROPERTY_TYPE = 13u32;
1442 pub const D2D1_PROPERTY_TYPE_MATRIX_3X2: D2D1_PROPERTY_TYPE = 14u32;
1443 pub const D2D1_PROPERTY_TYPE_MATRIX_4X3: D2D1_PROPERTY_TYPE = 15u32;
1444 pub const D2D1_PROPERTY_TYPE_MATRIX_4X4: D2D1_PROPERTY_TYPE = 16u32;
1445 pub const D2D1_PROPERTY_TYPE_MATRIX_5X4: D2D1_PROPERTY_TYPE = 17u32;
1446 pub const D2D1_PROPERTY_TYPE_COLOR_CONTEXT: D2D1_PROPERTY_TYPE = 18u32;
1447 pub const D2D1_PROPERTY_TYPE_FORCE_DWORD: D2D1_PROPERTY_TYPE = 4294967295u32;
1448 #[repr(C)]
1449 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1450 pub struct D2D1_QUADRATIC_BEZIER_SEGMENT {
1451     pub point1: Common::D2D_POINT_2F,
1452     pub point2: Common::D2D_POINT_2F,
1453 }
1454 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1455 impl ::core::marker::Copy for D2D1_QUADRATIC_BEZIER_SEGMENT {}
1456 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1457 impl ::core::clone::Clone for D2D1_QUADRATIC_BEZIER_SEGMENT {
clone(&self) -> Self1458     fn clone(&self) -> Self {
1459         *self
1460     }
1461 }
1462 #[repr(C)]
1463 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1464 pub struct D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES {
1465     pub center: Common::D2D_POINT_2F,
1466     pub gradientOriginOffset: Common::D2D_POINT_2F,
1467     pub radiusX: f32,
1468     pub radiusY: f32,
1469 }
1470 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1471 impl ::core::marker::Copy for D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES {}
1472 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1473 impl ::core::clone::Clone for D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES {
clone(&self) -> Self1474     fn clone(&self) -> Self {
1475         *self
1476     }
1477 }
1478 #[repr(C)]
1479 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1480 pub struct D2D1_RENDERING_CONTROLS {
1481     pub bufferPrecision: D2D1_BUFFER_PRECISION,
1482     pub tileSize: Common::D2D_SIZE_U,
1483 }
1484 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1485 impl ::core::marker::Copy for D2D1_RENDERING_CONTROLS {}
1486 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1487 impl ::core::clone::Clone for D2D1_RENDERING_CONTROLS {
clone(&self) -> Self1488     fn clone(&self) -> Self {
1489         *self
1490     }
1491 }
1492 pub type D2D1_RENDERING_PRIORITY = u32;
1493 pub const D2D1_RENDERING_PRIORITY_NORMAL: D2D1_RENDERING_PRIORITY = 0u32;
1494 pub const D2D1_RENDERING_PRIORITY_LOW: D2D1_RENDERING_PRIORITY = 1u32;
1495 pub const D2D1_RENDERING_PRIORITY_FORCE_DWORD: D2D1_RENDERING_PRIORITY = 4294967295u32;
1496 #[repr(C)]
1497 #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))]
1498 pub struct D2D1_RENDER_TARGET_PROPERTIES {
1499     pub r#type: D2D1_RENDER_TARGET_TYPE,
1500     pub pixelFormat: Common::D2D1_PIXEL_FORMAT,
1501     pub dpiX: f32,
1502     pub dpiY: f32,
1503     pub usage: D2D1_RENDER_TARGET_USAGE,
1504     pub minLevel: D2D1_FEATURE_LEVEL,
1505 }
1506 #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))]
1507 impl ::core::marker::Copy for D2D1_RENDER_TARGET_PROPERTIES {}
1508 #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))]
1509 impl ::core::clone::Clone for D2D1_RENDER_TARGET_PROPERTIES {
clone(&self) -> Self1510     fn clone(&self) -> Self {
1511         *self
1512     }
1513 }
1514 pub type D2D1_RENDER_TARGET_TYPE = u32;
1515 pub const D2D1_RENDER_TARGET_TYPE_DEFAULT: D2D1_RENDER_TARGET_TYPE = 0u32;
1516 pub const D2D1_RENDER_TARGET_TYPE_SOFTWARE: D2D1_RENDER_TARGET_TYPE = 1u32;
1517 pub const D2D1_RENDER_TARGET_TYPE_HARDWARE: D2D1_RENDER_TARGET_TYPE = 2u32;
1518 pub const D2D1_RENDER_TARGET_TYPE_FORCE_DWORD: D2D1_RENDER_TARGET_TYPE = 4294967295u32;
1519 pub type D2D1_RENDER_TARGET_USAGE = u32;
1520 pub const D2D1_RENDER_TARGET_USAGE_NONE: D2D1_RENDER_TARGET_USAGE = 0u32;
1521 pub const D2D1_RENDER_TARGET_USAGE_FORCE_BITMAP_REMOTING: D2D1_RENDER_TARGET_USAGE = 1u32;
1522 pub const D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE: D2D1_RENDER_TARGET_USAGE = 2u32;
1523 pub const D2D1_RENDER_TARGET_USAGE_FORCE_DWORD: D2D1_RENDER_TARGET_USAGE = 4294967295u32;
1524 #[repr(C)]
1525 pub struct D2D1_RESOURCE_TEXTURE_PROPERTIES {
1526     pub extents: *mut u32,
1527     pub dimensions: u32,
1528     pub bufferPrecision: D2D1_BUFFER_PRECISION,
1529     pub channelDepth: D2D1_CHANNEL_DEPTH,
1530     pub filter: D2D1_FILTER,
1531     pub extendModes: *mut D2D1_EXTEND_MODE,
1532 }
1533 impl ::core::marker::Copy for D2D1_RESOURCE_TEXTURE_PROPERTIES {}
1534 impl ::core::clone::Clone for D2D1_RESOURCE_TEXTURE_PROPERTIES {
clone(&self) -> Self1535     fn clone(&self) -> Self {
1536         *self
1537     }
1538 }
1539 pub type D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE = u32;
1540 pub const D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_VALUE: D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE = 0u32;
1541 pub const D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS: D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE = 1u32;
1542 pub const D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_FORCE_DWORD: D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE = 4294967295u32;
1543 pub type D2D1_RGBTOHUE_PROP = u32;
1544 pub const D2D1_RGBTOHUE_PROP_OUTPUT_COLOR_SPACE: D2D1_RGBTOHUE_PROP = 0u32;
1545 pub const D2D1_RGBTOHUE_PROP_FORCE_DWORD: D2D1_RGBTOHUE_PROP = 4294967295u32;
1546 #[repr(C)]
1547 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1548 pub struct D2D1_ROUNDED_RECT {
1549     pub rect: Common::D2D_RECT_F,
1550     pub radiusX: f32,
1551     pub radiusY: f32,
1552 }
1553 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1554 impl ::core::marker::Copy for D2D1_ROUNDED_RECT {}
1555 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1556 impl ::core::clone::Clone for D2D1_ROUNDED_RECT {
clone(&self) -> Self1557     fn clone(&self) -> Self {
1558         *self
1559     }
1560 }
1561 pub type D2D1_SATURATION_PROP = u32;
1562 pub const D2D1_SATURATION_PROP_SATURATION: D2D1_SATURATION_PROP = 0u32;
1563 pub const D2D1_SATURATION_PROP_FORCE_DWORD: D2D1_SATURATION_PROP = 4294967295u32;
1564 pub type D2D1_SCALE_INTERPOLATION_MODE = u32;
1565 pub const D2D1_SCALE_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_SCALE_INTERPOLATION_MODE = 0u32;
1566 pub const D2D1_SCALE_INTERPOLATION_MODE_LINEAR: D2D1_SCALE_INTERPOLATION_MODE = 1u32;
1567 pub const D2D1_SCALE_INTERPOLATION_MODE_CUBIC: D2D1_SCALE_INTERPOLATION_MODE = 2u32;
1568 pub const D2D1_SCALE_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_SCALE_INTERPOLATION_MODE = 3u32;
1569 pub const D2D1_SCALE_INTERPOLATION_MODE_ANISOTROPIC: D2D1_SCALE_INTERPOLATION_MODE = 4u32;
1570 pub const D2D1_SCALE_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_SCALE_INTERPOLATION_MODE = 5u32;
1571 pub const D2D1_SCALE_INTERPOLATION_MODE_FORCE_DWORD: D2D1_SCALE_INTERPOLATION_MODE = 4294967295u32;
1572 pub type D2D1_SCALE_PROP = u32;
1573 pub const D2D1_SCALE_PROP_SCALE: D2D1_SCALE_PROP = 0u32;
1574 pub const D2D1_SCALE_PROP_CENTER_POINT: D2D1_SCALE_PROP = 1u32;
1575 pub const D2D1_SCALE_PROP_INTERPOLATION_MODE: D2D1_SCALE_PROP = 2u32;
1576 pub const D2D1_SCALE_PROP_BORDER_MODE: D2D1_SCALE_PROP = 3u32;
1577 pub const D2D1_SCALE_PROP_SHARPNESS: D2D1_SCALE_PROP = 4u32;
1578 pub const D2D1_SCALE_PROP_FORCE_DWORD: D2D1_SCALE_PROP = 4294967295u32;
1579 pub const D2D1_SCENE_REFERRED_SDR_WHITE_LEVEL: f32 = 80f32;
1580 pub type D2D1_SEPIA_PROP = u32;
1581 pub const D2D1_SEPIA_PROP_INTENSITY: D2D1_SEPIA_PROP = 0u32;
1582 pub const D2D1_SEPIA_PROP_ALPHA_MODE: D2D1_SEPIA_PROP = 1u32;
1583 pub const D2D1_SEPIA_PROP_FORCE_DWORD: D2D1_SEPIA_PROP = 4294967295u32;
1584 pub type D2D1_SHADOW_OPTIMIZATION = u32;
1585 pub const D2D1_SHADOW_OPTIMIZATION_SPEED: D2D1_SHADOW_OPTIMIZATION = 0u32;
1586 pub const D2D1_SHADOW_OPTIMIZATION_BALANCED: D2D1_SHADOW_OPTIMIZATION = 1u32;
1587 pub const D2D1_SHADOW_OPTIMIZATION_QUALITY: D2D1_SHADOW_OPTIMIZATION = 2u32;
1588 pub const D2D1_SHADOW_OPTIMIZATION_FORCE_DWORD: D2D1_SHADOW_OPTIMIZATION = 4294967295u32;
1589 pub type D2D1_SHADOW_PROP = u32;
1590 pub const D2D1_SHADOW_PROP_BLUR_STANDARD_DEVIATION: D2D1_SHADOW_PROP = 0u32;
1591 pub const D2D1_SHADOW_PROP_COLOR: D2D1_SHADOW_PROP = 1u32;
1592 pub const D2D1_SHADOW_PROP_OPTIMIZATION: D2D1_SHADOW_PROP = 2u32;
1593 pub const D2D1_SHADOW_PROP_FORCE_DWORD: D2D1_SHADOW_PROP = 4294967295u32;
1594 pub type D2D1_SHARPEN_PROP = u32;
1595 pub const D2D1_SHARPEN_PROP_SHARPNESS: D2D1_SHARPEN_PROP = 0u32;
1596 pub const D2D1_SHARPEN_PROP_THRESHOLD: D2D1_SHARPEN_PROP = 1u32;
1597 pub const D2D1_SHARPEN_PROP_FORCE_DWORD: D2D1_SHARPEN_PROP = 4294967295u32;
1598 #[repr(C)]
1599 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1600 pub struct D2D1_SIMPLE_COLOR_PROFILE {
1601     pub redPrimary: Common::D2D_POINT_2F,
1602     pub greenPrimary: Common::D2D_POINT_2F,
1603     pub bluePrimary: Common::D2D_POINT_2F,
1604     pub whitePointXZ: Common::D2D_POINT_2F,
1605     pub gamma: D2D1_GAMMA1,
1606 }
1607 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1608 impl ::core::marker::Copy for D2D1_SIMPLE_COLOR_PROFILE {}
1609 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1610 impl ::core::clone::Clone for D2D1_SIMPLE_COLOR_PROFILE {
clone(&self) -> Self1611     fn clone(&self) -> Self {
1612         *self
1613     }
1614 }
1615 pub type D2D1_SPOTDIFFUSE_PROP = u32;
1616 pub const D2D1_SPOTDIFFUSE_PROP_LIGHT_POSITION: D2D1_SPOTDIFFUSE_PROP = 0u32;
1617 pub const D2D1_SPOTDIFFUSE_PROP_POINTS_AT: D2D1_SPOTDIFFUSE_PROP = 1u32;
1618 pub const D2D1_SPOTDIFFUSE_PROP_FOCUS: D2D1_SPOTDIFFUSE_PROP = 2u32;
1619 pub const D2D1_SPOTDIFFUSE_PROP_LIMITING_CONE_ANGLE: D2D1_SPOTDIFFUSE_PROP = 3u32;
1620 pub const D2D1_SPOTDIFFUSE_PROP_DIFFUSE_CONSTANT: D2D1_SPOTDIFFUSE_PROP = 4u32;
1621 pub const D2D1_SPOTDIFFUSE_PROP_SURFACE_SCALE: D2D1_SPOTDIFFUSE_PROP = 5u32;
1622 pub const D2D1_SPOTDIFFUSE_PROP_COLOR: D2D1_SPOTDIFFUSE_PROP = 6u32;
1623 pub const D2D1_SPOTDIFFUSE_PROP_KERNEL_UNIT_LENGTH: D2D1_SPOTDIFFUSE_PROP = 7u32;
1624 pub const D2D1_SPOTDIFFUSE_PROP_SCALE_MODE: D2D1_SPOTDIFFUSE_PROP = 8u32;
1625 pub const D2D1_SPOTDIFFUSE_PROP_FORCE_DWORD: D2D1_SPOTDIFFUSE_PROP = 4294967295u32;
1626 pub type D2D1_SPOTDIFFUSE_SCALE_MODE = u32;
1627 pub const D2D1_SPOTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_SPOTDIFFUSE_SCALE_MODE = 0u32;
1628 pub const D2D1_SPOTDIFFUSE_SCALE_MODE_LINEAR: D2D1_SPOTDIFFUSE_SCALE_MODE = 1u32;
1629 pub const D2D1_SPOTDIFFUSE_SCALE_MODE_CUBIC: D2D1_SPOTDIFFUSE_SCALE_MODE = 2u32;
1630 pub const D2D1_SPOTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_SPOTDIFFUSE_SCALE_MODE = 3u32;
1631 pub const D2D1_SPOTDIFFUSE_SCALE_MODE_ANISOTROPIC: D2D1_SPOTDIFFUSE_SCALE_MODE = 4u32;
1632 pub const D2D1_SPOTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_SPOTDIFFUSE_SCALE_MODE = 5u32;
1633 pub const D2D1_SPOTDIFFUSE_SCALE_MODE_FORCE_DWORD: D2D1_SPOTDIFFUSE_SCALE_MODE = 4294967295u32;
1634 pub type D2D1_SPOTSPECULAR_PROP = u32;
1635 pub const D2D1_SPOTSPECULAR_PROP_LIGHT_POSITION: D2D1_SPOTSPECULAR_PROP = 0u32;
1636 pub const D2D1_SPOTSPECULAR_PROP_POINTS_AT: D2D1_SPOTSPECULAR_PROP = 1u32;
1637 pub const D2D1_SPOTSPECULAR_PROP_FOCUS: D2D1_SPOTSPECULAR_PROP = 2u32;
1638 pub const D2D1_SPOTSPECULAR_PROP_LIMITING_CONE_ANGLE: D2D1_SPOTSPECULAR_PROP = 3u32;
1639 pub const D2D1_SPOTSPECULAR_PROP_SPECULAR_EXPONENT: D2D1_SPOTSPECULAR_PROP = 4u32;
1640 pub const D2D1_SPOTSPECULAR_PROP_SPECULAR_CONSTANT: D2D1_SPOTSPECULAR_PROP = 5u32;
1641 pub const D2D1_SPOTSPECULAR_PROP_SURFACE_SCALE: D2D1_SPOTSPECULAR_PROP = 6u32;
1642 pub const D2D1_SPOTSPECULAR_PROP_COLOR: D2D1_SPOTSPECULAR_PROP = 7u32;
1643 pub const D2D1_SPOTSPECULAR_PROP_KERNEL_UNIT_LENGTH: D2D1_SPOTSPECULAR_PROP = 8u32;
1644 pub const D2D1_SPOTSPECULAR_PROP_SCALE_MODE: D2D1_SPOTSPECULAR_PROP = 9u32;
1645 pub const D2D1_SPOTSPECULAR_PROP_FORCE_DWORD: D2D1_SPOTSPECULAR_PROP = 4294967295u32;
1646 pub type D2D1_SPOTSPECULAR_SCALE_MODE = u32;
1647 pub const D2D1_SPOTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_SPOTSPECULAR_SCALE_MODE = 0u32;
1648 pub const D2D1_SPOTSPECULAR_SCALE_MODE_LINEAR: D2D1_SPOTSPECULAR_SCALE_MODE = 1u32;
1649 pub const D2D1_SPOTSPECULAR_SCALE_MODE_CUBIC: D2D1_SPOTSPECULAR_SCALE_MODE = 2u32;
1650 pub const D2D1_SPOTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_SPOTSPECULAR_SCALE_MODE = 3u32;
1651 pub const D2D1_SPOTSPECULAR_SCALE_MODE_ANISOTROPIC: D2D1_SPOTSPECULAR_SCALE_MODE = 4u32;
1652 pub const D2D1_SPOTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_SPOTSPECULAR_SCALE_MODE = 5u32;
1653 pub const D2D1_SPOTSPECULAR_SCALE_MODE_FORCE_DWORD: D2D1_SPOTSPECULAR_SCALE_MODE = 4294967295u32;
1654 pub type D2D1_SPRITE_OPTIONS = u32;
1655 pub const D2D1_SPRITE_OPTIONS_NONE: D2D1_SPRITE_OPTIONS = 0u32;
1656 pub const D2D1_SPRITE_OPTIONS_CLAMP_TO_SOURCE_RECTANGLE: D2D1_SPRITE_OPTIONS = 1u32;
1657 pub const D2D1_SPRITE_OPTIONS_FORCE_DWORD: D2D1_SPRITE_OPTIONS = 4294967295u32;
1658 pub type D2D1_STRAIGHTEN_PROP = u32;
1659 pub const D2D1_STRAIGHTEN_PROP_ANGLE: D2D1_STRAIGHTEN_PROP = 0u32;
1660 pub const D2D1_STRAIGHTEN_PROP_MAINTAIN_SIZE: D2D1_STRAIGHTEN_PROP = 1u32;
1661 pub const D2D1_STRAIGHTEN_PROP_SCALE_MODE: D2D1_STRAIGHTEN_PROP = 2u32;
1662 pub const D2D1_STRAIGHTEN_PROP_FORCE_DWORD: D2D1_STRAIGHTEN_PROP = 4294967295u32;
1663 pub type D2D1_STRAIGHTEN_SCALE_MODE = u32;
1664 pub const D2D1_STRAIGHTEN_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_STRAIGHTEN_SCALE_MODE = 0u32;
1665 pub const D2D1_STRAIGHTEN_SCALE_MODE_LINEAR: D2D1_STRAIGHTEN_SCALE_MODE = 1u32;
1666 pub const D2D1_STRAIGHTEN_SCALE_MODE_CUBIC: D2D1_STRAIGHTEN_SCALE_MODE = 2u32;
1667 pub const D2D1_STRAIGHTEN_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_STRAIGHTEN_SCALE_MODE = 3u32;
1668 pub const D2D1_STRAIGHTEN_SCALE_MODE_ANISOTROPIC: D2D1_STRAIGHTEN_SCALE_MODE = 4u32;
1669 pub const D2D1_STRAIGHTEN_SCALE_MODE_FORCE_DWORD: D2D1_STRAIGHTEN_SCALE_MODE = 4294967295u32;
1670 #[repr(C)]
1671 pub struct D2D1_STROKE_STYLE_PROPERTIES {
1672     pub startCap: D2D1_CAP_STYLE,
1673     pub endCap: D2D1_CAP_STYLE,
1674     pub dashCap: D2D1_CAP_STYLE,
1675     pub lineJoin: D2D1_LINE_JOIN,
1676     pub miterLimit: f32,
1677     pub dashStyle: D2D1_DASH_STYLE,
1678     pub dashOffset: f32,
1679 }
1680 impl ::core::marker::Copy for D2D1_STROKE_STYLE_PROPERTIES {}
1681 impl ::core::clone::Clone for D2D1_STROKE_STYLE_PROPERTIES {
clone(&self) -> Self1682     fn clone(&self) -> Self {
1683         *self
1684     }
1685 }
1686 #[repr(C)]
1687 pub struct D2D1_STROKE_STYLE_PROPERTIES1 {
1688     pub startCap: D2D1_CAP_STYLE,
1689     pub endCap: D2D1_CAP_STYLE,
1690     pub dashCap: D2D1_CAP_STYLE,
1691     pub lineJoin: D2D1_LINE_JOIN,
1692     pub miterLimit: f32,
1693     pub dashStyle: D2D1_DASH_STYLE,
1694     pub dashOffset: f32,
1695     pub transformType: D2D1_STROKE_TRANSFORM_TYPE,
1696 }
1697 impl ::core::marker::Copy for D2D1_STROKE_STYLE_PROPERTIES1 {}
1698 impl ::core::clone::Clone for D2D1_STROKE_STYLE_PROPERTIES1 {
clone(&self) -> Self1699     fn clone(&self) -> Self {
1700         *self
1701     }
1702 }
1703 pub type D2D1_STROKE_TRANSFORM_TYPE = u32;
1704 pub const D2D1_STROKE_TRANSFORM_TYPE_NORMAL: D2D1_STROKE_TRANSFORM_TYPE = 0u32;
1705 pub const D2D1_STROKE_TRANSFORM_TYPE_FIXED: D2D1_STROKE_TRANSFORM_TYPE = 1u32;
1706 pub const D2D1_STROKE_TRANSFORM_TYPE_HAIRLINE: D2D1_STROKE_TRANSFORM_TYPE = 2u32;
1707 pub const D2D1_STROKE_TRANSFORM_TYPE_FORCE_DWORD: D2D1_STROKE_TRANSFORM_TYPE = 4294967295u32;
1708 pub type D2D1_SUBPROPERTY = u32;
1709 pub const D2D1_SUBPROPERTY_DISPLAYNAME: D2D1_SUBPROPERTY = 2147483648u32;
1710 pub const D2D1_SUBPROPERTY_ISREADONLY: D2D1_SUBPROPERTY = 2147483649u32;
1711 pub const D2D1_SUBPROPERTY_MIN: D2D1_SUBPROPERTY = 2147483650u32;
1712 pub const D2D1_SUBPROPERTY_MAX: D2D1_SUBPROPERTY = 2147483651u32;
1713 pub const D2D1_SUBPROPERTY_DEFAULT: D2D1_SUBPROPERTY = 2147483652u32;
1714 pub const D2D1_SUBPROPERTY_FIELDS: D2D1_SUBPROPERTY = 2147483653u32;
1715 pub const D2D1_SUBPROPERTY_INDEX: D2D1_SUBPROPERTY = 2147483654u32;
1716 pub const D2D1_SUBPROPERTY_FORCE_DWORD: D2D1_SUBPROPERTY = 4294967295u32;
1717 pub type D2D1_SVG_ASPECT_ALIGN = u32;
1718 pub const D2D1_SVG_ASPECT_ALIGN_NONE: D2D1_SVG_ASPECT_ALIGN = 0u32;
1719 pub const D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MIN: D2D1_SVG_ASPECT_ALIGN = 1u32;
1720 pub const D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MIN: D2D1_SVG_ASPECT_ALIGN = 2u32;
1721 pub const D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MIN: D2D1_SVG_ASPECT_ALIGN = 3u32;
1722 pub const D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MID: D2D1_SVG_ASPECT_ALIGN = 4u32;
1723 pub const D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MID: D2D1_SVG_ASPECT_ALIGN = 5u32;
1724 pub const D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MID: D2D1_SVG_ASPECT_ALIGN = 6u32;
1725 pub const D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MAX: D2D1_SVG_ASPECT_ALIGN = 7u32;
1726 pub const D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MAX: D2D1_SVG_ASPECT_ALIGN = 8u32;
1727 pub const D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MAX: D2D1_SVG_ASPECT_ALIGN = 9u32;
1728 pub const D2D1_SVG_ASPECT_ALIGN_FORCE_DWORD: D2D1_SVG_ASPECT_ALIGN = 4294967295u32;
1729 pub type D2D1_SVG_ASPECT_SCALING = u32;
1730 pub const D2D1_SVG_ASPECT_SCALING_MEET: D2D1_SVG_ASPECT_SCALING = 0u32;
1731 pub const D2D1_SVG_ASPECT_SCALING_SLICE: D2D1_SVG_ASPECT_SCALING = 1u32;
1732 pub const D2D1_SVG_ASPECT_SCALING_FORCE_DWORD: D2D1_SVG_ASPECT_SCALING = 4294967295u32;
1733 pub type D2D1_SVG_ATTRIBUTE_POD_TYPE = u32;
1734 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_FLOAT: D2D1_SVG_ATTRIBUTE_POD_TYPE = 0u32;
1735 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_COLOR: D2D1_SVG_ATTRIBUTE_POD_TYPE = 1u32;
1736 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_FILL_MODE: D2D1_SVG_ATTRIBUTE_POD_TYPE = 2u32;
1737 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_DISPLAY: D2D1_SVG_ATTRIBUTE_POD_TYPE = 3u32;
1738 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_OVERFLOW: D2D1_SVG_ATTRIBUTE_POD_TYPE = 4u32;
1739 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_CAP: D2D1_SVG_ATTRIBUTE_POD_TYPE = 5u32;
1740 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_JOIN: D2D1_SVG_ATTRIBUTE_POD_TYPE = 6u32;
1741 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_VISIBILITY: D2D1_SVG_ATTRIBUTE_POD_TYPE = 7u32;
1742 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_MATRIX: D2D1_SVG_ATTRIBUTE_POD_TYPE = 8u32;
1743 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_UNIT_TYPE: D2D1_SVG_ATTRIBUTE_POD_TYPE = 9u32;
1744 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_EXTEND_MODE: D2D1_SVG_ATTRIBUTE_POD_TYPE = 10u32;
1745 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_PRESERVE_ASPECT_RATIO: D2D1_SVG_ATTRIBUTE_POD_TYPE = 11u32;
1746 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_VIEWBOX: D2D1_SVG_ATTRIBUTE_POD_TYPE = 12u32;
1747 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_LENGTH: D2D1_SVG_ATTRIBUTE_POD_TYPE = 13u32;
1748 pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_FORCE_DWORD: D2D1_SVG_ATTRIBUTE_POD_TYPE = 4294967295u32;
1749 pub type D2D1_SVG_ATTRIBUTE_STRING_TYPE = u32;
1750 pub const D2D1_SVG_ATTRIBUTE_STRING_TYPE_SVG: D2D1_SVG_ATTRIBUTE_STRING_TYPE = 0u32;
1751 pub const D2D1_SVG_ATTRIBUTE_STRING_TYPE_ID: D2D1_SVG_ATTRIBUTE_STRING_TYPE = 1u32;
1752 pub const D2D1_SVG_ATTRIBUTE_STRING_TYPE_FORCE_DWORD: D2D1_SVG_ATTRIBUTE_STRING_TYPE = 4294967295u32;
1753 pub type D2D1_SVG_DISPLAY = u32;
1754 pub const D2D1_SVG_DISPLAY_INLINE: D2D1_SVG_DISPLAY = 0u32;
1755 pub const D2D1_SVG_DISPLAY_NONE: D2D1_SVG_DISPLAY = 1u32;
1756 pub const D2D1_SVG_DISPLAY_FORCE_DWORD: D2D1_SVG_DISPLAY = 4294967295u32;
1757 #[repr(C)]
1758 pub struct D2D1_SVG_LENGTH {
1759     pub value: f32,
1760     pub units: D2D1_SVG_LENGTH_UNITS,
1761 }
1762 impl ::core::marker::Copy for D2D1_SVG_LENGTH {}
1763 impl ::core::clone::Clone for D2D1_SVG_LENGTH {
clone(&self) -> Self1764     fn clone(&self) -> Self {
1765         *self
1766     }
1767 }
1768 pub type D2D1_SVG_LENGTH_UNITS = u32;
1769 pub const D2D1_SVG_LENGTH_UNITS_NUMBER: D2D1_SVG_LENGTH_UNITS = 0u32;
1770 pub const D2D1_SVG_LENGTH_UNITS_PERCENTAGE: D2D1_SVG_LENGTH_UNITS = 1u32;
1771 pub const D2D1_SVG_LENGTH_UNITS_FORCE_DWORD: D2D1_SVG_LENGTH_UNITS = 4294967295u32;
1772 pub type D2D1_SVG_LINE_CAP = u32;
1773 pub const D2D1_SVG_LINE_CAP_BUTT: D2D1_SVG_LINE_CAP = 0u32;
1774 pub const D2D1_SVG_LINE_CAP_SQUARE: D2D1_SVG_LINE_CAP = 1u32;
1775 pub const D2D1_SVG_LINE_CAP_ROUND: D2D1_SVG_LINE_CAP = 2u32;
1776 pub const D2D1_SVG_LINE_CAP_FORCE_DWORD: D2D1_SVG_LINE_CAP = 4294967295u32;
1777 pub type D2D1_SVG_LINE_JOIN = u32;
1778 pub const D2D1_SVG_LINE_JOIN_BEVEL: D2D1_SVG_LINE_JOIN = 1u32;
1779 pub const D2D1_SVG_LINE_JOIN_MITER: D2D1_SVG_LINE_JOIN = 3u32;
1780 pub const D2D1_SVG_LINE_JOIN_ROUND: D2D1_SVG_LINE_JOIN = 2u32;
1781 pub const D2D1_SVG_LINE_JOIN_FORCE_DWORD: D2D1_SVG_LINE_JOIN = 4294967295u32;
1782 pub type D2D1_SVG_OVERFLOW = u32;
1783 pub const D2D1_SVG_OVERFLOW_VISIBLE: D2D1_SVG_OVERFLOW = 0u32;
1784 pub const D2D1_SVG_OVERFLOW_HIDDEN: D2D1_SVG_OVERFLOW = 1u32;
1785 pub const D2D1_SVG_OVERFLOW_FORCE_DWORD: D2D1_SVG_OVERFLOW = 4294967295u32;
1786 pub type D2D1_SVG_PAINT_TYPE = u32;
1787 pub const D2D1_SVG_PAINT_TYPE_NONE: D2D1_SVG_PAINT_TYPE = 0u32;
1788 pub const D2D1_SVG_PAINT_TYPE_COLOR: D2D1_SVG_PAINT_TYPE = 1u32;
1789 pub const D2D1_SVG_PAINT_TYPE_CURRENT_COLOR: D2D1_SVG_PAINT_TYPE = 2u32;
1790 pub const D2D1_SVG_PAINT_TYPE_URI: D2D1_SVG_PAINT_TYPE = 3u32;
1791 pub const D2D1_SVG_PAINT_TYPE_URI_NONE: D2D1_SVG_PAINT_TYPE = 4u32;
1792 pub const D2D1_SVG_PAINT_TYPE_URI_COLOR: D2D1_SVG_PAINT_TYPE = 5u32;
1793 pub const D2D1_SVG_PAINT_TYPE_URI_CURRENT_COLOR: D2D1_SVG_PAINT_TYPE = 6u32;
1794 pub const D2D1_SVG_PAINT_TYPE_FORCE_DWORD: D2D1_SVG_PAINT_TYPE = 4294967295u32;
1795 pub type D2D1_SVG_PATH_COMMAND = u32;
1796 pub const D2D1_SVG_PATH_COMMAND_CLOSE_PATH: D2D1_SVG_PATH_COMMAND = 0u32;
1797 pub const D2D1_SVG_PATH_COMMAND_MOVE_ABSOLUTE: D2D1_SVG_PATH_COMMAND = 1u32;
1798 pub const D2D1_SVG_PATH_COMMAND_MOVE_RELATIVE: D2D1_SVG_PATH_COMMAND = 2u32;
1799 pub const D2D1_SVG_PATH_COMMAND_LINE_ABSOLUTE: D2D1_SVG_PATH_COMMAND = 3u32;
1800 pub const D2D1_SVG_PATH_COMMAND_LINE_RELATIVE: D2D1_SVG_PATH_COMMAND = 4u32;
1801 pub const D2D1_SVG_PATH_COMMAND_CUBIC_ABSOLUTE: D2D1_SVG_PATH_COMMAND = 5u32;
1802 pub const D2D1_SVG_PATH_COMMAND_CUBIC_RELATIVE: D2D1_SVG_PATH_COMMAND = 6u32;
1803 pub const D2D1_SVG_PATH_COMMAND_QUADRADIC_ABSOLUTE: D2D1_SVG_PATH_COMMAND = 7u32;
1804 pub const D2D1_SVG_PATH_COMMAND_QUADRADIC_RELATIVE: D2D1_SVG_PATH_COMMAND = 8u32;
1805 pub const D2D1_SVG_PATH_COMMAND_ARC_ABSOLUTE: D2D1_SVG_PATH_COMMAND = 9u32;
1806 pub const D2D1_SVG_PATH_COMMAND_ARC_RELATIVE: D2D1_SVG_PATH_COMMAND = 10u32;
1807 pub const D2D1_SVG_PATH_COMMAND_HORIZONTAL_ABSOLUTE: D2D1_SVG_PATH_COMMAND = 11u32;
1808 pub const D2D1_SVG_PATH_COMMAND_HORIZONTAL_RELATIVE: D2D1_SVG_PATH_COMMAND = 12u32;
1809 pub const D2D1_SVG_PATH_COMMAND_VERTICAL_ABSOLUTE: D2D1_SVG_PATH_COMMAND = 13u32;
1810 pub const D2D1_SVG_PATH_COMMAND_VERTICAL_RELATIVE: D2D1_SVG_PATH_COMMAND = 14u32;
1811 pub const D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_ABSOLUTE: D2D1_SVG_PATH_COMMAND = 15u32;
1812 pub const D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_RELATIVE: D2D1_SVG_PATH_COMMAND = 16u32;
1813 pub const D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_ABSOLUTE: D2D1_SVG_PATH_COMMAND = 17u32;
1814 pub const D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_RELATIVE: D2D1_SVG_PATH_COMMAND = 18u32;
1815 pub const D2D1_SVG_PATH_COMMAND_FORCE_DWORD: D2D1_SVG_PATH_COMMAND = 4294967295u32;
1816 #[repr(C)]
1817 #[cfg(feature = "Win32_Foundation")]
1818 pub struct D2D1_SVG_PRESERVE_ASPECT_RATIO {
1819     pub defer: super::super::Foundation::BOOL,
1820     pub align: D2D1_SVG_ASPECT_ALIGN,
1821     pub meetOrSlice: D2D1_SVG_ASPECT_SCALING,
1822 }
1823 #[cfg(feature = "Win32_Foundation")]
1824 impl ::core::marker::Copy for D2D1_SVG_PRESERVE_ASPECT_RATIO {}
1825 #[cfg(feature = "Win32_Foundation")]
1826 impl ::core::clone::Clone for D2D1_SVG_PRESERVE_ASPECT_RATIO {
clone(&self) -> Self1827     fn clone(&self) -> Self {
1828         *self
1829     }
1830 }
1831 pub type D2D1_SVG_UNIT_TYPE = u32;
1832 pub const D2D1_SVG_UNIT_TYPE_USER_SPACE_ON_USE: D2D1_SVG_UNIT_TYPE = 0u32;
1833 pub const D2D1_SVG_UNIT_TYPE_OBJECT_BOUNDING_BOX: D2D1_SVG_UNIT_TYPE = 1u32;
1834 pub const D2D1_SVG_UNIT_TYPE_FORCE_DWORD: D2D1_SVG_UNIT_TYPE = 4294967295u32;
1835 #[repr(C)]
1836 pub struct D2D1_SVG_VIEWBOX {
1837     pub x: f32,
1838     pub y: f32,
1839     pub width: f32,
1840     pub height: f32,
1841 }
1842 impl ::core::marker::Copy for D2D1_SVG_VIEWBOX {}
1843 impl ::core::clone::Clone for D2D1_SVG_VIEWBOX {
clone(&self) -> Self1844     fn clone(&self) -> Self {
1845         *self
1846     }
1847 }
1848 pub type D2D1_SVG_VISIBILITY = u32;
1849 pub const D2D1_SVG_VISIBILITY_VISIBLE: D2D1_SVG_VISIBILITY = 0u32;
1850 pub const D2D1_SVG_VISIBILITY_HIDDEN: D2D1_SVG_VISIBILITY = 1u32;
1851 pub const D2D1_SVG_VISIBILITY_FORCE_DWORD: D2D1_SVG_VISIBILITY = 4294967295u32;
1852 pub type D2D1_SWEEP_DIRECTION = u32;
1853 pub const D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE: D2D1_SWEEP_DIRECTION = 0u32;
1854 pub const D2D1_SWEEP_DIRECTION_CLOCKWISE: D2D1_SWEEP_DIRECTION = 1u32;
1855 pub const D2D1_SWEEP_DIRECTION_FORCE_DWORD: D2D1_SWEEP_DIRECTION = 4294967295u32;
1856 pub type D2D1_TABLETRANSFER_PROP = u32;
1857 pub const D2D1_TABLETRANSFER_PROP_RED_TABLE: D2D1_TABLETRANSFER_PROP = 0u32;
1858 pub const D2D1_TABLETRANSFER_PROP_RED_DISABLE: D2D1_TABLETRANSFER_PROP = 1u32;
1859 pub const D2D1_TABLETRANSFER_PROP_GREEN_TABLE: D2D1_TABLETRANSFER_PROP = 2u32;
1860 pub const D2D1_TABLETRANSFER_PROP_GREEN_DISABLE: D2D1_TABLETRANSFER_PROP = 3u32;
1861 pub const D2D1_TABLETRANSFER_PROP_BLUE_TABLE: D2D1_TABLETRANSFER_PROP = 4u32;
1862 pub const D2D1_TABLETRANSFER_PROP_BLUE_DISABLE: D2D1_TABLETRANSFER_PROP = 5u32;
1863 pub const D2D1_TABLETRANSFER_PROP_ALPHA_TABLE: D2D1_TABLETRANSFER_PROP = 6u32;
1864 pub const D2D1_TABLETRANSFER_PROP_ALPHA_DISABLE: D2D1_TABLETRANSFER_PROP = 7u32;
1865 pub const D2D1_TABLETRANSFER_PROP_CLAMP_OUTPUT: D2D1_TABLETRANSFER_PROP = 8u32;
1866 pub const D2D1_TABLETRANSFER_PROP_FORCE_DWORD: D2D1_TABLETRANSFER_PROP = 4294967295u32;
1867 pub type D2D1_TEMPERATUREANDTINT_PROP = u32;
1868 pub const D2D1_TEMPERATUREANDTINT_PROP_TEMPERATURE: D2D1_TEMPERATUREANDTINT_PROP = 0u32;
1869 pub const D2D1_TEMPERATUREANDTINT_PROP_TINT: D2D1_TEMPERATUREANDTINT_PROP = 1u32;
1870 pub const D2D1_TEMPERATUREANDTINT_PROP_FORCE_DWORD: D2D1_TEMPERATUREANDTINT_PROP = 4294967295u32;
1871 pub type D2D1_TEXT_ANTIALIAS_MODE = u32;
1872 pub const D2D1_TEXT_ANTIALIAS_MODE_DEFAULT: D2D1_TEXT_ANTIALIAS_MODE = 0u32;
1873 pub const D2D1_TEXT_ANTIALIAS_MODE_CLEARTYPE: D2D1_TEXT_ANTIALIAS_MODE = 1u32;
1874 pub const D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE: D2D1_TEXT_ANTIALIAS_MODE = 2u32;
1875 pub const D2D1_TEXT_ANTIALIAS_MODE_ALIASED: D2D1_TEXT_ANTIALIAS_MODE = 3u32;
1876 pub const D2D1_TEXT_ANTIALIAS_MODE_FORCE_DWORD: D2D1_TEXT_ANTIALIAS_MODE = 4294967295u32;
1877 pub type D2D1_THREADING_MODE = u32;
1878 pub const D2D1_THREADING_MODE_SINGLE_THREADED: D2D1_THREADING_MODE = 0u32;
1879 pub const D2D1_THREADING_MODE_MULTI_THREADED: D2D1_THREADING_MODE = 1u32;
1880 pub const D2D1_THREADING_MODE_FORCE_DWORD: D2D1_THREADING_MODE = 4294967295u32;
1881 pub type D2D1_TILE_PROP = u32;
1882 pub const D2D1_TILE_PROP_RECT: D2D1_TILE_PROP = 0u32;
1883 pub const D2D1_TILE_PROP_FORCE_DWORD: D2D1_TILE_PROP = 4294967295u32;
1884 pub type D2D1_TINT_PROP = u32;
1885 pub const D2D1_TINT_PROP_COLOR: D2D1_TINT_PROP = 0u32;
1886 pub const D2D1_TINT_PROP_CLAMP_OUTPUT: D2D1_TINT_PROP = 1u32;
1887 pub const D2D1_TINT_PROP_FORCE_DWORD: D2D1_TINT_PROP = 4294967295u32;
1888 pub type D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS = u32;
1889 pub const D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS_NONE: D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS = 0u32;
1890 pub const D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS_DISABLE_DPI_SCALE: D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS = 1u32;
1891 pub const D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS_FORCE_DWORD: D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS = 4294967295u32;
1892 #[repr(C)]
1893 pub struct D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES {
1894     pub orientation: D2D1_ORIENTATION,
1895     pub scaleX: f32,
1896     pub scaleY: f32,
1897     pub interpolationMode: D2D1_INTERPOLATION_MODE,
1898     pub options: D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS,
1899 }
1900 impl ::core::marker::Copy for D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES {}
1901 impl ::core::clone::Clone for D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES {
clone(&self) -> Self1902     fn clone(&self) -> Self {
1903         *self
1904     }
1905 }
1906 #[repr(C)]
1907 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1908 pub struct D2D1_TRIANGLE {
1909     pub point1: Common::D2D_POINT_2F,
1910     pub point2: Common::D2D_POINT_2F,
1911     pub point3: Common::D2D_POINT_2F,
1912 }
1913 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1914 impl ::core::marker::Copy for D2D1_TRIANGLE {}
1915 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
1916 impl ::core::clone::Clone for D2D1_TRIANGLE {
clone(&self) -> Self1917     fn clone(&self) -> Self {
1918         *self
1919     }
1920 }
1921 pub type D2D1_TURBULENCE_PROP = u32;
1922 pub const D2D1_TURBULENCE_PROP_OFFSET: D2D1_TURBULENCE_PROP = 0u32;
1923 pub const D2D1_TURBULENCE_PROP_SIZE: D2D1_TURBULENCE_PROP = 1u32;
1924 pub const D2D1_TURBULENCE_PROP_BASE_FREQUENCY: D2D1_TURBULENCE_PROP = 2u32;
1925 pub const D2D1_TURBULENCE_PROP_NUM_OCTAVES: D2D1_TURBULENCE_PROP = 3u32;
1926 pub const D2D1_TURBULENCE_PROP_SEED: D2D1_TURBULENCE_PROP = 4u32;
1927 pub const D2D1_TURBULENCE_PROP_NOISE: D2D1_TURBULENCE_PROP = 5u32;
1928 pub const D2D1_TURBULENCE_PROP_STITCHABLE: D2D1_TURBULENCE_PROP = 6u32;
1929 pub const D2D1_TURBULENCE_PROP_FORCE_DWORD: D2D1_TURBULENCE_PROP = 4294967295u32;
1930 pub type D2D1_UNIT_MODE = u32;
1931 pub const D2D1_UNIT_MODE_DIPS: D2D1_UNIT_MODE = 0u32;
1932 pub const D2D1_UNIT_MODE_PIXELS: D2D1_UNIT_MODE = 1u32;
1933 pub const D2D1_UNIT_MODE_FORCE_DWORD: D2D1_UNIT_MODE = 4294967295u32;
1934 #[repr(C)]
1935 pub struct D2D1_VERTEX_BUFFER_PROPERTIES {
1936     pub inputCount: u32,
1937     pub usage: D2D1_VERTEX_USAGE,
1938     pub data: *mut u8,
1939     pub byteWidth: u32,
1940 }
1941 impl ::core::marker::Copy for D2D1_VERTEX_BUFFER_PROPERTIES {}
1942 impl ::core::clone::Clone for D2D1_VERTEX_BUFFER_PROPERTIES {
clone(&self) -> Self1943     fn clone(&self) -> Self {
1944         *self
1945     }
1946 }
1947 pub type D2D1_VERTEX_OPTIONS = u32;
1948 pub const D2D1_VERTEX_OPTIONS_NONE: D2D1_VERTEX_OPTIONS = 0u32;
1949 pub const D2D1_VERTEX_OPTIONS_DO_NOT_CLEAR: D2D1_VERTEX_OPTIONS = 1u32;
1950 pub const D2D1_VERTEX_OPTIONS_USE_DEPTH_BUFFER: D2D1_VERTEX_OPTIONS = 2u32;
1951 pub const D2D1_VERTEX_OPTIONS_ASSUME_NO_OVERLAP: D2D1_VERTEX_OPTIONS = 4u32;
1952 pub const D2D1_VERTEX_OPTIONS_FORCE_DWORD: D2D1_VERTEX_OPTIONS = 4294967295u32;
1953 #[repr(C)]
1954 pub struct D2D1_VERTEX_RANGE {
1955     pub startVertex: u32,
1956     pub vertexCount: u32,
1957 }
1958 impl ::core::marker::Copy for D2D1_VERTEX_RANGE {}
1959 impl ::core::clone::Clone for D2D1_VERTEX_RANGE {
clone(&self) -> Self1960     fn clone(&self) -> Self {
1961         *self
1962     }
1963 }
1964 pub type D2D1_VERTEX_USAGE = u32;
1965 pub const D2D1_VERTEX_USAGE_STATIC: D2D1_VERTEX_USAGE = 0u32;
1966 pub const D2D1_VERTEX_USAGE_DYNAMIC: D2D1_VERTEX_USAGE = 1u32;
1967 pub const D2D1_VERTEX_USAGE_FORCE_DWORD: D2D1_VERTEX_USAGE = 4294967295u32;
1968 pub type D2D1_VIGNETTE_PROP = u32;
1969 pub const D2D1_VIGNETTE_PROP_COLOR: D2D1_VIGNETTE_PROP = 0u32;
1970 pub const D2D1_VIGNETTE_PROP_TRANSITION_SIZE: D2D1_VIGNETTE_PROP = 1u32;
1971 pub const D2D1_VIGNETTE_PROP_STRENGTH: D2D1_VIGNETTE_PROP = 2u32;
1972 pub const D2D1_VIGNETTE_PROP_FORCE_DWORD: D2D1_VIGNETTE_PROP = 4294967295u32;
1973 pub type D2D1_WHITELEVELADJUSTMENT_PROP = u32;
1974 pub const D2D1_WHITELEVELADJUSTMENT_PROP_INPUT_WHITE_LEVEL: D2D1_WHITELEVELADJUSTMENT_PROP = 0u32;
1975 pub const D2D1_WHITELEVELADJUSTMENT_PROP_OUTPUT_WHITE_LEVEL: D2D1_WHITELEVELADJUSTMENT_PROP = 1u32;
1976 pub const D2D1_WHITELEVELADJUSTMENT_PROP_FORCE_DWORD: D2D1_WHITELEVELADJUSTMENT_PROP = 4294967295u32;
1977 pub type D2D1_WINDOW_STATE = u32;
1978 pub const D2D1_WINDOW_STATE_NONE: D2D1_WINDOW_STATE = 0u32;
1979 pub const D2D1_WINDOW_STATE_OCCLUDED: D2D1_WINDOW_STATE = 1u32;
1980 pub const D2D1_WINDOW_STATE_FORCE_DWORD: D2D1_WINDOW_STATE = 4294967295u32;
1981 pub type D2D1_YCBCR_CHROMA_SUBSAMPLING = u32;
1982 pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_AUTO: D2D1_YCBCR_CHROMA_SUBSAMPLING = 0u32;
1983 pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_420: D2D1_YCBCR_CHROMA_SUBSAMPLING = 1u32;
1984 pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_422: D2D1_YCBCR_CHROMA_SUBSAMPLING = 2u32;
1985 pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_444: D2D1_YCBCR_CHROMA_SUBSAMPLING = 3u32;
1986 pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_440: D2D1_YCBCR_CHROMA_SUBSAMPLING = 4u32;
1987 pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_FORCE_DWORD: D2D1_YCBCR_CHROMA_SUBSAMPLING = 4294967295u32;
1988 pub type D2D1_YCBCR_INTERPOLATION_MODE = u32;
1989 pub const D2D1_YCBCR_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_YCBCR_INTERPOLATION_MODE = 0u32;
1990 pub const D2D1_YCBCR_INTERPOLATION_MODE_LINEAR: D2D1_YCBCR_INTERPOLATION_MODE = 1u32;
1991 pub const D2D1_YCBCR_INTERPOLATION_MODE_CUBIC: D2D1_YCBCR_INTERPOLATION_MODE = 2u32;
1992 pub const D2D1_YCBCR_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_YCBCR_INTERPOLATION_MODE = 3u32;
1993 pub const D2D1_YCBCR_INTERPOLATION_MODE_ANISOTROPIC: D2D1_YCBCR_INTERPOLATION_MODE = 4u32;
1994 pub const D2D1_YCBCR_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_YCBCR_INTERPOLATION_MODE = 5u32;
1995 pub const D2D1_YCBCR_INTERPOLATION_MODE_FORCE_DWORD: D2D1_YCBCR_INTERPOLATION_MODE = 4294967295u32;
1996 pub type D2D1_YCBCR_PROP = u32;
1997 pub const D2D1_YCBCR_PROP_CHROMA_SUBSAMPLING: D2D1_YCBCR_PROP = 0u32;
1998 pub const D2D1_YCBCR_PROP_TRANSFORM_MATRIX: D2D1_YCBCR_PROP = 1u32;
1999 pub const D2D1_YCBCR_PROP_INTERPOLATION_MODE: D2D1_YCBCR_PROP = 2u32;
2000 pub const D2D1_YCBCR_PROP_FORCE_DWORD: D2D1_YCBCR_PROP = 4294967295u32;
2001 pub const FACILITY_D2D: u32 = 2201u32;
2002 pub type ID2D1AnalysisTransform = *mut ::core::ffi::c_void;
2003 pub type ID2D1Bitmap = *mut ::core::ffi::c_void;
2004 pub type ID2D1Bitmap1 = *mut ::core::ffi::c_void;
2005 pub type ID2D1BitmapBrush = *mut ::core::ffi::c_void;
2006 pub type ID2D1BitmapBrush1 = *mut ::core::ffi::c_void;
2007 pub type ID2D1BitmapRenderTarget = *mut ::core::ffi::c_void;
2008 pub type ID2D1BlendTransform = *mut ::core::ffi::c_void;
2009 pub type ID2D1BorderTransform = *mut ::core::ffi::c_void;
2010 pub type ID2D1BoundsAdjustmentTransform = *mut ::core::ffi::c_void;
2011 pub type ID2D1Brush = *mut ::core::ffi::c_void;
2012 pub type ID2D1ColorContext = *mut ::core::ffi::c_void;
2013 pub type ID2D1ColorContext1 = *mut ::core::ffi::c_void;
2014 pub type ID2D1CommandList = *mut ::core::ffi::c_void;
2015 pub type ID2D1CommandSink = *mut ::core::ffi::c_void;
2016 pub type ID2D1CommandSink1 = *mut ::core::ffi::c_void;
2017 pub type ID2D1CommandSink2 = *mut ::core::ffi::c_void;
2018 pub type ID2D1CommandSink3 = *mut ::core::ffi::c_void;
2019 pub type ID2D1CommandSink4 = *mut ::core::ffi::c_void;
2020 pub type ID2D1CommandSink5 = *mut ::core::ffi::c_void;
2021 pub type ID2D1ComputeInfo = *mut ::core::ffi::c_void;
2022 pub type ID2D1ComputeTransform = *mut ::core::ffi::c_void;
2023 pub type ID2D1ConcreteTransform = *mut ::core::ffi::c_void;
2024 pub type ID2D1DCRenderTarget = *mut ::core::ffi::c_void;
2025 pub type ID2D1Device = *mut ::core::ffi::c_void;
2026 pub type ID2D1Device1 = *mut ::core::ffi::c_void;
2027 pub type ID2D1Device2 = *mut ::core::ffi::c_void;
2028 pub type ID2D1Device3 = *mut ::core::ffi::c_void;
2029 pub type ID2D1Device4 = *mut ::core::ffi::c_void;
2030 pub type ID2D1Device5 = *mut ::core::ffi::c_void;
2031 pub type ID2D1Device6 = *mut ::core::ffi::c_void;
2032 pub type ID2D1DeviceContext = *mut ::core::ffi::c_void;
2033 pub type ID2D1DeviceContext1 = *mut ::core::ffi::c_void;
2034 pub type ID2D1DeviceContext2 = *mut ::core::ffi::c_void;
2035 pub type ID2D1DeviceContext3 = *mut ::core::ffi::c_void;
2036 pub type ID2D1DeviceContext4 = *mut ::core::ffi::c_void;
2037 pub type ID2D1DeviceContext5 = *mut ::core::ffi::c_void;
2038 pub type ID2D1DeviceContext6 = *mut ::core::ffi::c_void;
2039 pub type ID2D1DrawInfo = *mut ::core::ffi::c_void;
2040 pub type ID2D1DrawTransform = *mut ::core::ffi::c_void;
2041 pub type ID2D1DrawingStateBlock = *mut ::core::ffi::c_void;
2042 pub type ID2D1DrawingStateBlock1 = *mut ::core::ffi::c_void;
2043 pub type ID2D1Effect = *mut ::core::ffi::c_void;
2044 pub type ID2D1EffectContext = *mut ::core::ffi::c_void;
2045 pub type ID2D1EffectContext1 = *mut ::core::ffi::c_void;
2046 pub type ID2D1EffectContext2 = *mut ::core::ffi::c_void;
2047 pub type ID2D1EffectImpl = *mut ::core::ffi::c_void;
2048 pub type ID2D1EllipseGeometry = *mut ::core::ffi::c_void;
2049 pub type ID2D1Factory = *mut ::core::ffi::c_void;
2050 pub type ID2D1Factory1 = *mut ::core::ffi::c_void;
2051 pub type ID2D1Factory2 = *mut ::core::ffi::c_void;
2052 pub type ID2D1Factory3 = *mut ::core::ffi::c_void;
2053 pub type ID2D1Factory4 = *mut ::core::ffi::c_void;
2054 pub type ID2D1Factory5 = *mut ::core::ffi::c_void;
2055 pub type ID2D1Factory6 = *mut ::core::ffi::c_void;
2056 pub type ID2D1Factory7 = *mut ::core::ffi::c_void;
2057 pub type ID2D1GdiInteropRenderTarget = *mut ::core::ffi::c_void;
2058 pub type ID2D1GdiMetafile = *mut ::core::ffi::c_void;
2059 pub type ID2D1GdiMetafile1 = *mut ::core::ffi::c_void;
2060 pub type ID2D1GdiMetafileSink = *mut ::core::ffi::c_void;
2061 pub type ID2D1GdiMetafileSink1 = *mut ::core::ffi::c_void;
2062 pub type ID2D1Geometry = *mut ::core::ffi::c_void;
2063 pub type ID2D1GeometryGroup = *mut ::core::ffi::c_void;
2064 pub type ID2D1GeometryRealization = *mut ::core::ffi::c_void;
2065 pub type ID2D1GeometrySink = *mut ::core::ffi::c_void;
2066 pub type ID2D1GradientMesh = *mut ::core::ffi::c_void;
2067 pub type ID2D1GradientStopCollection = *mut ::core::ffi::c_void;
2068 pub type ID2D1GradientStopCollection1 = *mut ::core::ffi::c_void;
2069 pub type ID2D1HwndRenderTarget = *mut ::core::ffi::c_void;
2070 pub type ID2D1Image = *mut ::core::ffi::c_void;
2071 pub type ID2D1ImageBrush = *mut ::core::ffi::c_void;
2072 pub type ID2D1ImageSource = *mut ::core::ffi::c_void;
2073 pub type ID2D1ImageSourceFromWic = *mut ::core::ffi::c_void;
2074 pub type ID2D1Ink = *mut ::core::ffi::c_void;
2075 pub type ID2D1InkStyle = *mut ::core::ffi::c_void;
2076 pub type ID2D1Layer = *mut ::core::ffi::c_void;
2077 pub type ID2D1LinearGradientBrush = *mut ::core::ffi::c_void;
2078 pub type ID2D1LookupTable3D = *mut ::core::ffi::c_void;
2079 pub type ID2D1Mesh = *mut ::core::ffi::c_void;
2080 pub type ID2D1Multithread = *mut ::core::ffi::c_void;
2081 pub type ID2D1OffsetTransform = *mut ::core::ffi::c_void;
2082 pub type ID2D1PathGeometry = *mut ::core::ffi::c_void;
2083 pub type ID2D1PathGeometry1 = *mut ::core::ffi::c_void;
2084 pub type ID2D1PrintControl = *mut ::core::ffi::c_void;
2085 pub type ID2D1Properties = *mut ::core::ffi::c_void;
2086 pub type ID2D1RadialGradientBrush = *mut ::core::ffi::c_void;
2087 pub type ID2D1RectangleGeometry = *mut ::core::ffi::c_void;
2088 pub type ID2D1RenderInfo = *mut ::core::ffi::c_void;
2089 pub type ID2D1RenderTarget = *mut ::core::ffi::c_void;
2090 pub type ID2D1Resource = *mut ::core::ffi::c_void;
2091 pub type ID2D1ResourceTexture = *mut ::core::ffi::c_void;
2092 pub type ID2D1RoundedRectangleGeometry = *mut ::core::ffi::c_void;
2093 pub type ID2D1SolidColorBrush = *mut ::core::ffi::c_void;
2094 pub type ID2D1SourceTransform = *mut ::core::ffi::c_void;
2095 pub type ID2D1SpriteBatch = *mut ::core::ffi::c_void;
2096 pub type ID2D1StrokeStyle = *mut ::core::ffi::c_void;
2097 pub type ID2D1StrokeStyle1 = *mut ::core::ffi::c_void;
2098 pub type ID2D1SvgAttribute = *mut ::core::ffi::c_void;
2099 pub type ID2D1SvgDocument = *mut ::core::ffi::c_void;
2100 pub type ID2D1SvgElement = *mut ::core::ffi::c_void;
2101 pub type ID2D1SvgGlyphStyle = *mut ::core::ffi::c_void;
2102 pub type ID2D1SvgPaint = *mut ::core::ffi::c_void;
2103 pub type ID2D1SvgPathData = *mut ::core::ffi::c_void;
2104 pub type ID2D1SvgPointCollection = *mut ::core::ffi::c_void;
2105 pub type ID2D1SvgStrokeDashArray = *mut ::core::ffi::c_void;
2106 pub type ID2D1TessellationSink = *mut ::core::ffi::c_void;
2107 pub type ID2D1Transform = *mut ::core::ffi::c_void;
2108 pub type ID2D1TransformGraph = *mut ::core::ffi::c_void;
2109 pub type ID2D1TransformNode = *mut ::core::ffi::c_void;
2110 pub type ID2D1TransformedGeometry = *mut ::core::ffi::c_void;
2111 pub type ID2D1TransformedImageSource = *mut ::core::ffi::c_void;
2112 pub type ID2D1VertexBuffer = *mut ::core::ffi::c_void;
2113 #[repr(C)]
2114 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
2115 pub struct Matrix4x3F {
2116     pub __AnonymousBase_d2d1_1helper_L45_C31: Common::D2D_MATRIX_4X3_F,
2117 }
2118 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
2119 impl ::core::marker::Copy for Matrix4x3F {}
2120 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
2121 impl ::core::clone::Clone for Matrix4x3F {
clone(&self) -> Self2122     fn clone(&self) -> Self {
2123         *self
2124     }
2125 }
2126 #[repr(C)]
2127 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
2128 pub struct Matrix4x4F {
2129     pub __AnonymousBase_d2d1_1helper_L97_C31: Common::D2D_MATRIX_4X4_F,
2130 }
2131 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
2132 impl ::core::marker::Copy for Matrix4x4F {}
2133 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
2134 impl ::core::clone::Clone for Matrix4x4F {
clone(&self) -> Self2135     fn clone(&self) -> Self {
2136         *self
2137     }
2138 }
2139 #[repr(C)]
2140 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
2141 pub struct Matrix5x4F {
2142     pub __AnonymousBase_d2d1_1helper_L472_C31: Common::D2D_MATRIX_5X4_F,
2143 }
2144 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
2145 impl ::core::marker::Copy for Matrix5x4F {}
2146 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
2147 impl ::core::clone::Clone for Matrix5x4F {
clone(&self) -> Self2148     fn clone(&self) -> Self {
2149         *self
2150     }
2151 }
2152 pub type PD2D1_EFFECT_FACTORY = unsafe extern "system" fn(effectimpl: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT;
2153 pub type PD2D1_PROPERTY_GET_FUNCTION = unsafe extern "system" fn(effect: ::windows_sys::core::IUnknown, data: *mut u8, datasize: u32, actualsize: *mut u32) -> ::windows_sys::core::HRESULT;
2154 pub type PD2D1_PROPERTY_SET_FUNCTION = unsafe extern "system" fn(effect: ::windows_sys::core::IUnknown, data: *const u8, datasize: u32) -> ::windows_sys::core::HRESULT;
2155