-
Notifications
You must be signed in to change notification settings - Fork 13
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
How to draw svg and images using react-canvaskit #41
Comments
It's certianly possible but it seems react-canvaskit doesn't to have that api mapped from canvaskit. I'll see if I can update the canvaskit dependency and add image support. |
work is being done in https://github.com/udevbe/react-canvaskit/tree/canvaskit-wasm-update |
OK, thank you. Looking forward to your updates. |
I've just discovered this excellent repo, is there any example for current svg support ? |
Unfortunately most of my time is currently spend developing greenfield. I'll see if I can continue and fix up the upgrade branch and add basic image support in the next few days. |
I've added encoded image support (tested with png). SVG images don't seem to be supported by canvaskit, only individual SVG paths. |
I want to draw svg and images on canvas, it seems react-canvaskit does not provide these functions, is there any way?
The text was updated successfully, but these errors were encountered: