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