Thin wrapper over nanovg for Common Lisp
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.appveyor.yml
.distignore
.gitattributes
.gitignore
.gitmodules
.travis.yml
LICENSE
README.md
bodge-nanovg.asd
bodge_nanovg.h
bodge_nanovg_gl2.h
claw-gl2.lisp
claw.lisp
context-gl2.lisp
context.lisp
example.lisp
libnanovg.lisp
nanovg.lisp
packages.lisp
regen-spec.lisp
update-specs.sh

README.md

Build Status Build status

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)