bodge-nanovg
2020-10-16
Wrapper over nanovg library for cl-bodge system
bodge nanovg wrapper
Thin wrapper over NanoVG
library for hardware-accelerated 2D drawing via OpenGL.
Requirements
- ASDF/Quicklisp
- x86_64/i686 GNU/Linux, macOS or Windows
Loading
(ql:quickload '(nanovg-blob bodge-nanovg))
Usage
Interface
All wrapped functions can be found in %nvg
package. On the other hand, nvg
package
contains minimally lispified wrappers and utility functions.
Example
A bit verbose but simplest possible example can be found in example.lisp
.
To run it, evaluate in your REPL:
(ql:quickload :bodge-nanovg/example) (nanovg.example:run)