summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_SvgMatrix.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
commit9835e2ae736235810b4ea1c162ca5e65c547e770 (patch)
tree3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/web-sys/src/features/gen_SvgMatrix.rs
parentReleasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff)
downloadrustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz
rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/web-sys/src/features/gen_SvgMatrix.rs')
-rw-r--r--vendor/web-sys/src/features/gen_SvgMatrix.rs179
1 files changed, 179 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_SvgMatrix.rs b/vendor/web-sys/src/features/gen_SvgMatrix.rs
new file mode 100644
index 000000000..ca82392b2
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_SvgMatrix.rs
@@ -0,0 +1,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;
+}