Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raph-amiard/ada-nanovg
Ada bindings to NanoVG
https://github.com/raph-amiard/ada-nanovg
Last synced: about 2 months ago
JSON representation
Ada bindings to NanoVG
- Host: GitHub
- URL: https://github.com/raph-amiard/ada-nanovg
- Owner: raph-amiard
- Created: 2016-01-19T12:22:58.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-29T20:14:12.000Z (almost 9 years ago)
- Last Synced: 2024-07-31T20:44:00.947Z (5 months ago)
- Language: Ada
- Size: 46.9 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ada - ada-nanovg - Ada bindings to NanoVG. (Libraries / Graphics and Multimedia)
README
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/OpenGLAdaDependencies
------------- You'll need GL ES V2 and GLFW v3 installed on your system. For the moment,
the only backend supported is GL ES V2.- You'll also need a relatively recent GNAT toolchain, either GNAT GPL or the
FSF version that should be available in the package manager of your
distribution.- You'll need to checkout the dependencies, nanovg itself, and the OpenGLAda
bindings. You can use the `setup.sh` script to do that part or do it
manually.Building & Installing
---------------------If you are on a Linux system:
~~~bash
./setup.sh
gprbuild -P ada_nanovg.gpr -XWindowing_System=x11 -XGLFW_Version=3
~~~You can also build the example similarly:
~~~bash
gprbuild -P example/nanovg_example.gpr -XWindowing_System=x11 -XGLFW_Version=3
~~~