1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "DomMatrixReadOnly",
9 extends = "::js_sys::Object",
10 js_name = "DOMMatrix",
11 typescript_type = "DOMMatrix"
12 )]
13 #[derive(Debug, Clone, PartialEq, Eq)]
14 #[doc = "The `DomMatrix` class."]
15 #[doc = ""]
16 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix)"]
17 #[doc = ""]
18 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
19 pub type DomMatrix;
20 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "a")]
21 #[doc = "Getter for the `a` field of this object."]
22 #[doc = ""]
23 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/a)"]
24 #[doc = ""]
25 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
26 pub fn a(this: &DomMatrix) -> f64;
27 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "a")]
28 #[doc = "Setter for the `a` field of this object."]
29 #[doc = ""]
30 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/a)"]
31 #[doc = ""]
32 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
33 pub fn set_a(this: &DomMatrix, value: f64);
34 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "b")]
35 #[doc = "Getter for the `b` field of this object."]
36 #[doc = ""]
37 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/b)"]
38 #[doc = ""]
39 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
40 pub fn b(this: &DomMatrix) -> f64;
41 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "b")]
42 #[doc = "Setter for the `b` field of this object."]
43 #[doc = ""]
44 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/b)"]
45 #[doc = ""]
46 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
47 pub fn set_b(this: &DomMatrix, value: f64);
48 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "c")]
49 #[doc = "Getter for the `c` field of this object."]
50 #[doc = ""]
51 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/c)"]
52 #[doc = ""]
53 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
54 pub fn c(this: &DomMatrix) -> f64;
55 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "c")]
56 #[doc = "Setter for the `c` field of this object."]
57 #[doc = ""]
58 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/c)"]
59 #[doc = ""]
60 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
61 pub fn set_c(this: &DomMatrix, value: f64);
62 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "d")]
63 #[doc = "Getter for the `d` field of this object."]
64 #[doc = ""]
65 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/d)"]
66 #[doc = ""]
67 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
68 pub fn d(this: &DomMatrix) -> f64;
69 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "d")]
70 #[doc = "Setter for the `d` field of this object."]
71 #[doc = ""]
72 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/d)"]
73 #[doc = ""]
74 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
75 pub fn set_d(this: &DomMatrix, value: f64);
76 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "e")]
77 #[doc = "Getter for the `e` field of this object."]
78 #[doc = ""]
79 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/e)"]
80 #[doc = ""]
81 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
82 pub fn e(this: &DomMatrix) -> f64;
83 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "e")]
84 #[doc = "Setter for the `e` field of this object."]
85 #[doc = ""]
86 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/e)"]
87 #[doc = ""]
88 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
89 pub fn set_e(this: &DomMatrix, value: f64);
90 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "f")]
91 #[doc = "Getter for the `f` field of this object."]
92 #[doc = ""]
93 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/f)"]
94 #[doc = ""]
95 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
96 pub fn f(this: &DomMatrix) -> f64;
97 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "f")]
98 #[doc = "Setter for the `f` field of this object."]
99 #[doc = ""]
100 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/f)"]
101 #[doc = ""]
102 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
103 pub fn set_f(this: &DomMatrix, value: f64);
104 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m11")]
105 #[doc = "Getter for the `m11` field of this object."]
106 #[doc = ""]
107 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m11)"]
108 #[doc = ""]
109 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
110 pub fn m11(this: &DomMatrix) -> f64;
111 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m11")]
112 #[doc = "Setter for the `m11` field of this object."]
113 #[doc = ""]
114 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m11)"]
115 #[doc = ""]
116 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
117 pub fn set_m11(this: &DomMatrix, value: f64);
118 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m12")]
119 #[doc = "Getter for the `m12` field of this object."]
120 #[doc = ""]
121 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m12)"]
122 #[doc = ""]
123 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
124 pub fn m12(this: &DomMatrix) -> f64;
125 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m12")]
126 #[doc = "Setter for the `m12` field of this object."]
127 #[doc = ""]
128 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m12)"]
129 #[doc = ""]
130 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
131 pub fn set_m12(this: &DomMatrix, value: f64);
132 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m13")]
133 #[doc = "Getter for the `m13` field of this object."]
134 #[doc = ""]
135 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m13)"]
136 #[doc = ""]
137 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
138 pub fn m13(this: &DomMatrix) -> f64;
139 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m13")]
140 #[doc = "Setter for the `m13` field of this object."]
141 #[doc = ""]
142 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m13)"]
143 #[doc = ""]
144 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
145 pub fn set_m13(this: &DomMatrix, value: f64);
146 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m14")]
147 #[doc = "Getter for the `m14` field of this object."]
148 #[doc = ""]
149 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m14)"]
150 #[doc = ""]
151 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
152 pub fn m14(this: &DomMatrix) -> f64;
153 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m14")]
154 #[doc = "Setter for the `m14` field of this object."]
155 #[doc = ""]
156 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m14)"]
157 #[doc = ""]
158 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
159 pub fn set_m14(this: &DomMatrix, value: f64);
160 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m21")]
161 #[doc = "Getter for the `m21` field of this object."]
162 #[doc = ""]
163 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m21)"]
164 #[doc = ""]
165 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
166 pub fn m21(this: &DomMatrix) -> f64;
167 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m21")]
168 #[doc = "Setter for the `m21` field of this object."]
169 #[doc = ""]
170 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m21)"]
171 #[doc = ""]
172 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
173 pub fn set_m21(this: &DomMatrix, value: f64);
174 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m22")]
175 #[doc = "Getter for the `m22` field of this object."]
176 #[doc = ""]
177 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m22)"]
178 #[doc = ""]
179 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
180 pub fn m22(this: &DomMatrix) -> f64;
181 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m22")]
182 #[doc = "Setter for the `m22` field of this object."]
183 #[doc = ""]
184 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m22)"]
185 #[doc = ""]
186 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
187 pub fn set_m22(this: &DomMatrix, value: f64);
188 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m23")]
189 #[doc = "Getter for the `m23` field of this object."]
190 #[doc = ""]
191 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m23)"]
192 #[doc = ""]
193 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
194 pub fn m23(this: &DomMatrix) -> f64;
195 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m23")]
196 #[doc = "Setter for the `m23` field of this object."]
197 #[doc = ""]
198 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m23)"]
199 #[doc = ""]
200 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
201 pub fn set_m23(this: &DomMatrix, value: f64);
202 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m24")]
203 #[doc = "Getter for the `m24` field of this object."]
204 #[doc = ""]
205 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m24)"]
206 #[doc = ""]
207 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
208 pub fn m24(this: &DomMatrix) -> f64;
209 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m24")]
210 #[doc = "Setter for the `m24` field of this object."]
211 #[doc = ""]
212 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m24)"]
213 #[doc = ""]
214 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
215 pub fn set_m24(this: &DomMatrix, value: f64);
216 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m31")]
217 #[doc = "Getter for the `m31` field of this object."]
218 #[doc = ""]
219 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m31)"]
220 #[doc = ""]
221 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
222 pub fn m31(this: &DomMatrix) -> f64;
223 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m31")]
224 #[doc = "Setter for the `m31` field of this object."]
225 #[doc = ""]
226 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m31)"]
227 #[doc = ""]
228 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
229 pub fn set_m31(this: &DomMatrix, value: f64);
230 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m32")]
231 #[doc = "Getter for the `m32` field of this object."]
232 #[doc = ""]
233 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m32)"]
234 #[doc = ""]
235 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
236 pub fn m32(this: &DomMatrix) -> f64;
237 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m32")]
238 #[doc = "Setter for the `m32` field of this object."]
239 #[doc = ""]
240 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m32)"]
241 #[doc = ""]
242 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
243 pub fn set_m32(this: &DomMatrix, value: f64);
244 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m33")]
245 #[doc = "Getter for the `m33` field of this object."]
246 #[doc = ""]
247 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m33)"]
248 #[doc = ""]
249 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
250 pub fn m33(this: &DomMatrix) -> f64;
251 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m33")]
252 #[doc = "Setter for the `m33` field of this object."]
253 #[doc = ""]
254 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m33)"]
255 #[doc = ""]
256 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
257 pub fn set_m33(this: &DomMatrix, value: f64);
258 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m34")]
259 #[doc = "Getter for the `m34` field of this object."]
260 #[doc = ""]
261 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m34)"]
262 #[doc = ""]
263 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
264 pub fn m34(this: &DomMatrix) -> f64;
265 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m34")]
266 #[doc = "Setter for the `m34` field of this object."]
267 #[doc = ""]
268 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m34)"]
269 #[doc = ""]
270 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
271 pub fn set_m34(this: &DomMatrix, value: f64);
272 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m41")]
273 #[doc = "Getter for the `m41` field of this object."]
274 #[doc = ""]
275 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m41)"]
276 #[doc = ""]
277 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
278 pub fn m41(this: &DomMatrix) -> f64;
279 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m41")]
280 #[doc = "Setter for the `m41` field of this object."]
281 #[doc = ""]
282 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m41)"]
283 #[doc = ""]
284 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
285 pub fn set_m41(this: &DomMatrix, value: f64);
286 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m42")]
287 #[doc = "Getter for the `m42` field of this object."]
288 #[doc = ""]
289 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m42)"]
290 #[doc = ""]
291 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
292 pub fn m42(this: &DomMatrix) -> f64;
293 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m42")]
294 #[doc = "Setter for the `m42` field of this object."]
295 #[doc = ""]
296 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m42)"]
297 #[doc = ""]
298 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
299 pub fn set_m42(this: &DomMatrix, value: f64);
300 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m43")]
301 #[doc = "Getter for the `m43` field of this object."]
302 #[doc = ""]
303 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m43)"]
304 #[doc = ""]
305 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
306 pub fn m43(this: &DomMatrix) -> f64;
307 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m43")]
308 #[doc = "Setter for the `m43` field of this object."]
309 #[doc = ""]
310 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m43)"]
311 #[doc = ""]
312 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
313 pub fn set_m43(this: &DomMatrix, value: f64);
314 #[wasm_bindgen(method, getter, js_class = "DOMMatrix", js_name = "m44")]
315 #[doc = "Getter for the `m44` field of this object."]
316 #[doc = ""]
317 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m44)"]
318 #[doc = ""]
319 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
320 pub fn m44(this: &DomMatrix) -> f64;
321 #[wasm_bindgen(method, setter, js_class = "DOMMatrix", js_name = "m44")]
322 #[doc = "Setter for the `m44` field of this object."]
323 #[doc = ""]
324 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/m44)"]
325 #[doc = ""]
326 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
327 pub fn set_m44(this: &DomMatrix, value: f64);
328 #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
329 #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
330 #[doc = ""]
331 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
332 #[doc = ""]
333 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
334 pub fn new() -> Result<DomMatrix, JsValue>;
335 #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
336 #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
337 #[doc = ""]
338 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
339 #[doc = ""]
340 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
341 pub fn new_with_transform_list(transform_list: &str) -> Result<DomMatrix, JsValue>;
342 #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
343 #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
344 #[doc = ""]
345 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
346 #[doc = ""]
347 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
348 pub fn new_with_other(other: &DomMatrixReadOnly) -> Result<DomMatrix, JsValue>;
349 #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
350 #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
351 #[doc = ""]
352 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
353 #[doc = ""]
354 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
355 pub fn new_with_array32(array32: &mut [f32]) -> Result<DomMatrix, JsValue>;
356 #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
357 #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
358 #[doc = ""]
359 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
360 #[doc = ""]
361 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
362 pub fn new_with_f32_array(array32: &::js_sys::Float32Array) -> Result<DomMatrix, JsValue>;
363 #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
364 #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
365 #[doc = ""]
366 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
367 #[doc = ""]
368 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
369 pub fn new_with_array64(array64: &mut [f64]) -> Result<DomMatrix, JsValue>;
370 #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
371 #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
372 #[doc = ""]
373 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
374 #[doc = ""]
375 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
376 pub fn new_with_f64_array(array64: &::js_sys::Float64Array) -> Result<DomMatrix, JsValue>;
377 #[wasm_bindgen(catch, constructor, js_class = "DOMMatrix")]
378 #[doc = "The `new DomMatrix(..)` constructor, creating a new instance of `DomMatrix`."]
379 #[doc = ""]
380 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/DOMMatrix)"]
381 #[doc = ""]
382 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
383 pub fn new_with_number_sequence(
384 number_sequence: &::wasm_bindgen::JsValue,
385 ) -> Result<DomMatrix, JsValue>;
386 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "invertSelf")]
387 #[doc = "The `invertSelf()` method."]
388 #[doc = ""]
389 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/invertSelf)"]
390 #[doc = ""]
391 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
392 pub fn invert_self(this: &DomMatrix) -> DomMatrix;
393 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "multiplySelf")]
394 #[doc = "The `multiplySelf()` method."]
395 #[doc = ""]
396 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/multiplySelf)"]
397 #[doc = ""]
398 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
399 pub fn multiply_self(this: &DomMatrix, other: &DomMatrix) -> DomMatrix;
400 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "preMultiplySelf")]
401 #[doc = "The `preMultiplySelf()` method."]
402 #[doc = ""]
403 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/preMultiplySelf)"]
404 #[doc = ""]
405 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
406 pub fn pre_multiply_self(this: &DomMatrix, other: &DomMatrix) -> DomMatrix;
407 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "rotateAxisAngleSelf")]
408 #[doc = "The `rotateAxisAngleSelf()` method."]
409 #[doc = ""]
410 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateAxisAngleSelf)"]
411 #[doc = ""]
412 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
413 pub fn rotate_axis_angle_self(
414 this: &DomMatrix,
415 x: f64,
416 y: f64,
417 z: f64,
418 angle: f64,
419 ) -> DomMatrix;
420 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "rotateFromVectorSelf")]
421 #[doc = "The `rotateFromVectorSelf()` method."]
422 #[doc = ""]
423 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateFromVectorSelf)"]
424 #[doc = ""]
425 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
426 pub fn rotate_from_vector_self(this: &DomMatrix, x: f64, y: f64) -> DomMatrix;
427 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "rotateSelf")]
428 #[doc = "The `rotateSelf()` method."]
429 #[doc = ""]
430 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateSelf)"]
431 #[doc = ""]
432 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
433 pub fn rotate_self(this: &DomMatrix, angle: f64) -> DomMatrix;
434 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "rotateSelf")]
435 #[doc = "The `rotateSelf()` method."]
436 #[doc = ""]
437 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateSelf)"]
438 #[doc = ""]
439 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
440 pub fn rotate_self_with_origin_x(this: &DomMatrix, angle: f64, origin_x: f64) -> DomMatrix;
441 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "rotateSelf")]
442 #[doc = "The `rotateSelf()` method."]
443 #[doc = ""]
444 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/rotateSelf)"]
445 #[doc = ""]
446 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
447 pub fn rotate_self_with_origin_x_and_origin_y(
448 this: &DomMatrix,
449 angle: f64,
450 origin_x: f64,
451 origin_y: f64,
452 ) -> DomMatrix;
453 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "scale3dSelf")]
454 #[doc = "The `scale3dSelf()` method."]
455 #[doc = ""]
456 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)"]
457 #[doc = ""]
458 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
459 pub fn scale3d_self(this: &DomMatrix, scale: f64) -> DomMatrix;
460 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "scale3dSelf")]
461 #[doc = "The `scale3dSelf()` method."]
462 #[doc = ""]
463 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)"]
464 #[doc = ""]
465 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
466 pub fn scale3d_self_with_origin_x(this: &DomMatrix, scale: f64, origin_x: f64) -> DomMatrix;
467 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "scale3dSelf")]
468 #[doc = "The `scale3dSelf()` method."]
469 #[doc = ""]
470 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)"]
471 #[doc = ""]
472 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
473 pub fn scale3d_self_with_origin_x_and_origin_y(
474 this: &DomMatrix,
475 scale: f64,
476 origin_x: f64,
477 origin_y: f64,
478 ) -> DomMatrix;
479 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "scale3dSelf")]
480 #[doc = "The `scale3dSelf()` method."]
481 #[doc = ""]
482 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scale3dSelf)"]
483 #[doc = ""]
484 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
485 pub fn scale3d_self_with_origin_x_and_origin_y_and_origin_z(
486 this: &DomMatrix,
487 scale: f64,
488 origin_x: f64,
489 origin_y: f64,
490 origin_z: f64,
491 ) -> DomMatrix;
492 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "scaleNonUniformSelf")]
493 #[doc = "The `scaleNonUniformSelf()` method."]
494 #[doc = ""]
495 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)"]
496 #[doc = ""]
497 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
498 pub fn scale_non_uniform_self(this: &DomMatrix, scale_x: f64) -> DomMatrix;
499 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "scaleNonUniformSelf")]
500 #[doc = "The `scaleNonUniformSelf()` method."]
501 #[doc = ""]
502 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)"]
503 #[doc = ""]
504 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
505 pub fn scale_non_uniform_self_with_scale_y(
506 this: &DomMatrix,
507 scale_x: f64,
508 scale_y: f64,
509 ) -> DomMatrix;
510 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "scaleNonUniformSelf")]
511 #[doc = "The `scaleNonUniformSelf()` method."]
512 #[doc = ""]
513 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)"]
514 #[doc = ""]
515 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
516 pub fn scale_non_uniform_self_with_scale_y_and_scale_z(
517 this: &DomMatrix,
518 scale_x: f64,
519 scale_y: f64,
520 scale_z: f64,
521 ) -> DomMatrix;
522 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "scaleNonUniformSelf")]
523 #[doc = "The `scaleNonUniformSelf()` method."]
524 #[doc = ""]
525 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)"]
526 #[doc = ""]
527 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
528 pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x(
529 this: &DomMatrix,
530 scale_x: f64,
531 scale_y: f64,
532 scale_z: f64,
533 origin_x: f64,
534 ) -> DomMatrix;
535 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "scaleNonUniformSelf")]
536 #[doc = "The `scaleNonUniformSelf()` method."]
537 #[doc = ""]
538 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)"]
539 #[doc = ""]
540 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
541 pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y(
542 this: &DomMatrix,
543 scale_x: f64,
544 scale_y: f64,
545 scale_z: f64,
546 origin_x: f64,
547 origin_y: f64,
548 ) -> DomMatrix;
549 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "scaleNonUniformSelf")]
550 #[doc = "The `scaleNonUniformSelf()` method."]
551 #[doc = ""]
552 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleNonUniformSelf)"]
553 #[doc = ""]
554 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
555 pub fn scale_non_uniform_self_with_scale_y_and_scale_z_and_origin_x_and_origin_y_and_origin_z(
556 this: &DomMatrix,
557 scale_x: f64,
558 scale_y: f64,
559 scale_z: f64,
560 origin_x: f64,
561 origin_y: f64,
562 origin_z: f64,
563 ) -> DomMatrix;
564 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "scaleSelf")]
565 #[doc = "The `scaleSelf()` method."]
566 #[doc = ""]
567 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleSelf)"]
568 #[doc = ""]
569 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
570 pub fn scale_self(this: &DomMatrix, scale: f64) -> DomMatrix;
571 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "scaleSelf")]
572 #[doc = "The `scaleSelf()` method."]
573 #[doc = ""]
574 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleSelf)"]
575 #[doc = ""]
576 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
577 pub fn scale_self_with_origin_x(this: &DomMatrix, scale: f64, origin_x: f64) -> DomMatrix;
578 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "scaleSelf")]
579 #[doc = "The `scaleSelf()` method."]
580 #[doc = ""]
581 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/scaleSelf)"]
582 #[doc = ""]
583 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
584 pub fn scale_self_with_origin_x_and_origin_y(
585 this: &DomMatrix,
586 scale: f64,
587 origin_x: f64,
588 origin_y: f64,
589 ) -> DomMatrix;
590 #[wasm_bindgen(catch, method, js_class = "DOMMatrix", js_name = "setMatrixValue")]
591 #[doc = "The `setMatrixValue()` method."]
592 #[doc = ""]
593 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/setMatrixValue)"]
594 #[doc = ""]
595 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
596 pub fn set_matrix_value(this: &DomMatrix, transform_list: &str) -> Result<DomMatrix, JsValue>;
597 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "skewXSelf")]
598 #[doc = "The `skewXSelf()` method."]
599 #[doc = ""]
600 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/skewXSelf)"]
601 #[doc = ""]
602 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
603 pub fn skew_x_self(this: &DomMatrix, sx: f64) -> DomMatrix;
604 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "skewYSelf")]
605 #[doc = "The `skewYSelf()` method."]
606 #[doc = ""]
607 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/skewYSelf)"]
608 #[doc = ""]
609 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
610 pub fn skew_y_self(this: &DomMatrix, sy: f64) -> DomMatrix;
611 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "translateSelf")]
612 #[doc = "The `translateSelf()` method."]
613 #[doc = ""]
614 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/translateSelf)"]
615 #[doc = ""]
616 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
617 pub fn translate_self(this: &DomMatrix, tx: f64, ty: f64) -> DomMatrix;
618 #[wasm_bindgen(method, js_class = "DOMMatrix", js_name = "translateSelf")]
619 #[doc = "The `translateSelf()` method."]
620 #[doc = ""]
621 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix/translateSelf)"]
622 #[doc = ""]
623 #[doc = "*This API requires the following crate features to be activated: `DomMatrix`*"]
624 pub fn translate_self_with_tz(this: &DomMatrix, tx: f64, ty: f64, tz: f64) -> DomMatrix;
625}