Home

Awesome

Ada NanoVG bindings

Ada bindings to NanoVG - https://github.com/memononen/nanovg

These bindings aim to provide a lightweight alternative to Cairo/GtkAda for drawing vector graphics. They use the amazing NanoVG library, and are for the moment very thin bindings around it, but aim to provide more idiomatic Ada bindings in time.

For the OpenGL part, those rely on the great OpenGLAda bindings from flyx: https://github.com/flyx/OpenGLAda

Dependencies

Building & Installing

If you are on a Linux system:

./setup.sh
gprbuild -P ada_nanovg.gpr -XWindowing_System=x11 -XGLFW_Version=3

You can also build the example similarly:

gprbuild -P example/nanovg_example.gpr -XWindowing_System=x11 -XGLFW_Version=3