-
Notifications
You must be signed in to change notification settings - Fork 55
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
Examples? Source for the SVG renderer #11
Comments
Hi, I don't have a dedicated SVG renderer to share but here is the code I'm using to render SVG's in my code.
Note that since I don't know if the shapes are convex or concave, I have to use vg::PathType::Concave for all fills, which will probably be really slow. So if you want to render static SVG's you better "bake" them into a cachable CommandList. The tiger sample on the front page uses caching to achieve the frame time it reports at the top left corner of the image. As for other projects, as far as I know @hugoam's mud/toy have the option to use vg-renderer for the GUI. Other than that, I have no idea. Probably noone else is using it at the moment. |
Is the code for the SVG renderer available? Are there other example projects elsewhere that illustrate vg-renderer's use?
Thanks!
The text was updated successfully, but these errors were encountered: