diff options
Diffstat (limited to 'vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs')
-rw-r--r-- | vendor/web-sys/src/features/gen_CanvasRenderingContext2d.rs | 20 |
1 files changed, 20 insertions, 0 deletions
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 = ""] |