-
Notifications
You must be signed in to change notification settings - Fork 123
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
Add bindings for SkSVGDOM #545
Comments
Agreed, and as I can see from the Network graph, @triniwiz already attempted to extend the bindings, may be you can collaborate? |
It's based of another fork that started the svg support all I added was image loading (my work is mostly around mobile) |
@triniwiz Is it possible to draw SVG files with that branch? We don't have to implement the full SkSVGDOM API (Node, etc.) for a first MVP, rendering should cover most use cases I guess. |
Yes it works fine for my usage passing a string or path from Android/iOS to render . One more thing I know some are a bit picky with it comes to adding dependencies since I added reqwest. It was added from my understanding that embedders need to handle those asset loading e.g images , fonts(did not tackle this one) ..etc |
Would it be possible to add bindings for the
SkSVGDOM
class? Being able to parse SVG files and draw them to the canvas would be a terrific enhancement.See also: SvgTool.cpp for a minimal use case.
The text was updated successfully, but these errors were encountered: