bodge-nanovg

2020-10-16

Wrapper over nanovg library for cl-bodge system

Upstream URL

github.com/borodust/bodge-nanovg

Author

Pavel Korolev

License

MIT
README

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)

Dependencies (14)

  • alexandria
  • bodge-glad
  • bodge-glfw
  • cffi
  • cffi-c-ref
  • claw
  • claw-utils
  • cl-opengl
  • float-features
  • glad-blob
  • glfw-blob
  • nanovg-blob
  • trivial-main-thread
  • uiop

Dependents (0)

    • GitHub
    • Quicklisp