-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
web_sys: missing set_transform with matrix function #3578
Comments
No, if you look at the documentation page, there is a second version that takes a single So I find it illogical that |
Thanks! |
Thank you for the very fast answer! A small question, |
It should work, because Btw, if you want to create a PR implementing this conversion I'm happy to review it. |
Motivation
The function setTransform on Canvas 2D can accept a matrix on modern browsers. This is currently not exposed in
web_sys
. However, the sister functiongetTransform
is exposed.Proposed Solution
Expose a
set_transform_with_matrix
function, to match theget_transform
ones.The text was updated successfully, but these errors were encountered: