You have to compile nanosvg.so/dll on your system. You can use the build.sh as a hint.
I couldn't find a real use for it since I can pre-render SVGs in inkscape.
Edit: now supports full lua table creation for NSVGimage struct
.
svg rendering with nanosvg
svg rendering with nanosvg
Last edited by monolifed on Wed Mar 18, 2020 1:28 pm, edited 4 times in total.
Re: svg rendering with nanosvg
This is super elegant.
If you ever need something for meshes, you might want to look at https://github.com/poke1024/tove2d (disclaimer: I'm the author).
If you ever need something for meshes, you might want to look at https://github.com/poke1024/tove2d (disclaimer: I'm the author).
Re: svg rendering with nanosvg
Nice library (I think it is not on https://love2d.org/wiki/Category:Libraries)
I changed this to make it a little more convenient to use.
I changed this to make it a little more convenient to use.
Last edited by monolifed on Sun Oct 13, 2019 9:45 pm, edited 1 time in total.
Re: svg rendering with nanosvg
Modified it further and added on github
Who is online
Users browsing this forum: No registered users and 2 guests