@hackage nanovg0.8.1.0
Haskell bindings for nanovg
Installation
Tested Compilers
Dependencies (5)
- base >=4.8 && <5.0
- bytestring >=0.10 && <0.13
- containers >=0.5 && <0.7
- text >=1.2 && <2.2
- vector >=0.11 && <0.14 Show all…
Dependents (5)
@hackage/affection, @hackage/acme-everything, @hackage/monomer, @hackage/chiphunk, @hackage/nanovg-simple
Package 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.
NanoVG Haskell bindings
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 :)).