Page 1 of 1

svg rendering with nanosvg

Posted: Wed Feb 27, 2019 2:30 am
by monolifed
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


.

Re: svg rendering with nanosvg

Posted: Sun Mar 03, 2019 10:26 am
by poke1024
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).

Re: svg rendering with nanosvg

Posted: Sun Mar 03, 2019 9:07 pm
by monolifed
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.

Re: svg rendering with nanosvg

Posted: Sun Oct 13, 2019 9:44 pm
by monolifed
Modified it further and added on github