Nim wrapper for the C NanoVG antialiased vector graphics rendering library for OpenGL
nim-nanovg can be installed via Nimble:
nimble install nanovg
Have a look at demo.nim
in the examples directory. You can
build the examples by executing the following command:
nimble examples
The examples require nim-glfw.
The API documentation is in-progress, currently it's a slightly edited version of the original NanoVG source comments.
You can also check out the NanoVG README for further info.
Attempting to compile the library on Mac OS X 10.14.5 Mojave / ** XCode 11.3.1** with the GL2 backend results in compilation errors. I can't be bothered fixing this as GL3 works fine.