From 9918693037dce8aa4bb6f08741b6812923486c18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 19 Jun 2024 11:26:03 +0200 Subject: Merging upstream version 1.76.0+dfsg1. Signed-off-by: Daniel Baumann --- .../src/features/gen_CanvasRenderingContext2d.rs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs') diff --git a/vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs b/vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs index 335576870..c5878c132 100644 --- a/vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs +++ b/vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs @@ -1385,6 +1385,26 @@ extern "C" { e: f64, f: f64, ) -> Result<(), JsValue>; + # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = setTransform)] + #[doc = "The `setTransform()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setTransform)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`*"] + pub fn set_transform_with_default_dom_matrix_2d_init( + this: &CanvasRenderingContext2d, + ) -> Result<(), JsValue>; + #[cfg(feature = "DomMatrix2dInit")] + # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = setTransform)] + #[doc = "The `setTransform()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setTransform)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `CanvasRenderingContext2d`, `DomMatrix2dInit`*"] + pub fn set_transform_with_dom_matrix_2d_init( + this: &CanvasRenderingContext2d, + transform: &DomMatrix2dInit, + ) -> Result<(), JsValue>; # [wasm_bindgen (catch , method , structural , js_class = "CanvasRenderingContext2D" , js_name = transform)] #[doc = "The `transform()` method."] #[doc = ""] -- cgit v1.2.3