1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGMatrix , typescript_type = "SVGMatrix")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `SvgMatrix` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
13     pub type SvgMatrix;
14     # [wasm_bindgen (structural , method , getter , js_class = "SVGMatrix" , js_name = a)]
15     #[doc = "Getter for the `a` field of this object."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/a)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
a(this: &SvgMatrix) -> f3220     pub fn a(this: &SvgMatrix) -> f32;
21     # [wasm_bindgen (structural , method , setter , js_class = "SVGMatrix" , js_name = a)]
22     #[doc = "Setter for the `a` field of this object."]
23     #[doc = ""]
24     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/a)"]
25     #[doc = ""]
26     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
set_a(this: &SvgMatrix, value: f32)27     pub fn set_a(this: &SvgMatrix, value: f32);
28     # [wasm_bindgen (structural , method , getter , js_class = "SVGMatrix" , js_name = b)]
29     #[doc = "Getter for the `b` field of this object."]
30     #[doc = ""]
31     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/b)"]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
b(this: &SvgMatrix) -> f3234     pub fn b(this: &SvgMatrix) -> f32;
35     # [wasm_bindgen (structural , method , setter , js_class = "SVGMatrix" , js_name = b)]
36     #[doc = "Setter for the `b` field of this object."]
37     #[doc = ""]
38     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/b)"]
39     #[doc = ""]
40     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
set_b(this: &SvgMatrix, value: f32)41     pub fn set_b(this: &SvgMatrix, value: f32);
42     # [wasm_bindgen (structural , method , getter , js_class = "SVGMatrix" , js_name = c)]
43     #[doc = "Getter for the `c` field of this object."]
44     #[doc = ""]
45     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/c)"]
46     #[doc = ""]
47     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
c(this: &SvgMatrix) -> f3248     pub fn c(this: &SvgMatrix) -> f32;
49     # [wasm_bindgen (structural , method , setter , js_class = "SVGMatrix" , js_name = c)]
50     #[doc = "Setter for the `c` field of this object."]
51     #[doc = ""]
52     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/c)"]
53     #[doc = ""]
54     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
set_c(this: &SvgMatrix, value: f32)55     pub fn set_c(this: &SvgMatrix, value: f32);
56     # [wasm_bindgen (structural , method , getter , js_class = "SVGMatrix" , js_name = d)]
57     #[doc = "Getter for the `d` field of this object."]
58     #[doc = ""]
59     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/d)"]
60     #[doc = ""]
61     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
d(this: &SvgMatrix) -> f3262     pub fn d(this: &SvgMatrix) -> f32;
63     # [wasm_bindgen (structural , method , setter , js_class = "SVGMatrix" , js_name = d)]
64     #[doc = "Setter for the `d` field of this object."]
65     #[doc = ""]
66     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/d)"]
67     #[doc = ""]
68     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
set_d(this: &SvgMatrix, value: f32)69     pub fn set_d(this: &SvgMatrix, value: f32);
70     # [wasm_bindgen (structural , method , getter , js_class = "SVGMatrix" , js_name = e)]
71     #[doc = "Getter for the `e` field of this object."]
72     #[doc = ""]
73     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/e)"]
74     #[doc = ""]
75     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
e(this: &SvgMatrix) -> f3276     pub fn e(this: &SvgMatrix) -> f32;
77     # [wasm_bindgen (structural , method , setter , js_class = "SVGMatrix" , js_name = e)]
78     #[doc = "Setter for the `e` field of this object."]
79     #[doc = ""]
80     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/e)"]
81     #[doc = ""]
82     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
set_e(this: &SvgMatrix, value: f32)83     pub fn set_e(this: &SvgMatrix, value: f32);
84     # [wasm_bindgen (structural , method , getter , js_class = "SVGMatrix" , js_name = f)]
85     #[doc = "Getter for the `f` field of this object."]
86     #[doc = ""]
87     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/f)"]
88     #[doc = ""]
89     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
f(this: &SvgMatrix) -> f3290     pub fn f(this: &SvgMatrix) -> f32;
91     # [wasm_bindgen (structural , method , setter , js_class = "SVGMatrix" , js_name = f)]
92     #[doc = "Setter for the `f` field of this object."]
93     #[doc = ""]
94     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/f)"]
95     #[doc = ""]
96     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
set_f(this: &SvgMatrix, value: f32)97     pub fn set_f(this: &SvgMatrix, value: f32);
98     # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = flipX)]
99     #[doc = "The `flipX()` method."]
100     #[doc = ""]
101     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/flipX)"]
102     #[doc = ""]
103     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
flip_x(this: &SvgMatrix) -> SvgMatrix104     pub fn flip_x(this: &SvgMatrix) -> SvgMatrix;
105     # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = flipY)]
106     #[doc = "The `flipY()` method."]
107     #[doc = ""]
108     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/flipY)"]
109     #[doc = ""]
110     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
flip_y(this: &SvgMatrix) -> SvgMatrix111     pub fn flip_y(this: &SvgMatrix) -> SvgMatrix;
112     # [wasm_bindgen (catch , method , structural , js_class = "SVGMatrix" , js_name = inverse)]
113     #[doc = "The `inverse()` method."]
114     #[doc = ""]
115     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/inverse)"]
116     #[doc = ""]
117     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
inverse(this: &SvgMatrix) -> Result<SvgMatrix, JsValue>118     pub fn inverse(this: &SvgMatrix) -> Result<SvgMatrix, JsValue>;
119     # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = multiply)]
120     #[doc = "The `multiply()` method."]
121     #[doc = ""]
122     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/multiply)"]
123     #[doc = ""]
124     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
multiply(this: &SvgMatrix, second_matrix: &SvgMatrix) -> SvgMatrix125     pub fn multiply(this: &SvgMatrix, second_matrix: &SvgMatrix) -> SvgMatrix;
126     # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = rotate)]
127     #[doc = "The `rotate()` method."]
128     #[doc = ""]
129     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/rotate)"]
130     #[doc = ""]
131     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
rotate(this: &SvgMatrix, angle: f32) -> SvgMatrix132     pub fn rotate(this: &SvgMatrix, angle: f32) -> SvgMatrix;
133     # [wasm_bindgen (catch , method , structural , js_class = "SVGMatrix" , js_name = rotateFromVector)]
134     #[doc = "The `rotateFromVector()` method."]
135     #[doc = ""]
136     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/rotateFromVector)"]
137     #[doc = ""]
138     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
rotate_from_vector(this: &SvgMatrix, x: f32, y: f32) -> Result<SvgMatrix, JsValue>139     pub fn rotate_from_vector(this: &SvgMatrix, x: f32, y: f32) -> Result<SvgMatrix, JsValue>;
140     # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = scale)]
141     #[doc = "The `scale()` method."]
142     #[doc = ""]
143     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/scale)"]
144     #[doc = ""]
145     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
scale(this: &SvgMatrix, scale_factor: f32) -> SvgMatrix146     pub fn scale(this: &SvgMatrix, scale_factor: f32) -> SvgMatrix;
147     # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = scaleNonUniform)]
148     #[doc = "The `scaleNonUniform()` method."]
149     #[doc = ""]
150     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/scaleNonUniform)"]
151     #[doc = ""]
152     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
scale_non_uniform( this: &SvgMatrix, scale_factor_x: f32, scale_factor_y: f32, ) -> SvgMatrix153     pub fn scale_non_uniform(
154         this: &SvgMatrix,
155         scale_factor_x: f32,
156         scale_factor_y: f32,
157     ) -> SvgMatrix;
158     # [wasm_bindgen (catch , method , structural , js_class = "SVGMatrix" , js_name = skewX)]
159     #[doc = "The `skewX()` method."]
160     #[doc = ""]
161     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/skewX)"]
162     #[doc = ""]
163     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
skew_x(this: &SvgMatrix, angle: f32) -> Result<SvgMatrix, JsValue>164     pub fn skew_x(this: &SvgMatrix, angle: f32) -> Result<SvgMatrix, JsValue>;
165     # [wasm_bindgen (catch , method , structural , js_class = "SVGMatrix" , js_name = skewY)]
166     #[doc = "The `skewY()` method."]
167     #[doc = ""]
168     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/skewY)"]
169     #[doc = ""]
170     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
skew_y(this: &SvgMatrix, angle: f32) -> Result<SvgMatrix, JsValue>171     pub fn skew_y(this: &SvgMatrix, angle: f32) -> Result<SvgMatrix, JsValue>;
172     # [wasm_bindgen (method , structural , js_class = "SVGMatrix" , js_name = translate)]
173     #[doc = "The `translate()` method."]
174     #[doc = ""]
175     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix/translate)"]
176     #[doc = ""]
177     #[doc = "*This API requires the following crate features to be activated: `SvgMatrix`*"]
translate(this: &SvgMatrix, x: f32, y: f32) -> SvgMatrix178     pub fn translate(this: &SvgMatrix, x: f32, y: f32) -> SvgMatrix;
179 }
180