About

Metadata

  • Last updated , by fjvallarino
  • License ISC
  • Categories Graphics
  • Maintained by: moritz.kiefer@purelyfunctional.org

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.4.2
  2. 8.2.2
  3. 8.0.2

Package Flags

Use the -f option with cabal commands to enable flags

    examples (off by default)

    Build examples

    gles3 (off by default)

    Build for GLES3. This deactivates GL3 support.

    gl2 (off by default)

    Build for GL2. This deactivates GL3 support.

    stb_truetype (off by default)

    Use stb_truetype. By default uses freetype.

Readme

NanoVG Haskell bindings

Build Status Hackage

Currently only the GL3 backend is supported.

A large part of the example bundled with NanoVG is translated into Haskell and bundled as example00.

Most of the bindings directly expose the corresponding NanoVG so look there for more details on the usage.

There is also a diagrams backend using these bindings.

Feel free to open issues if you have any ideas for improvements (or even better PRs :)).