NanoSVG + OCaml bindings
- OCaml 70.1%
- C 29.4%
- Makefile 0.4%
| example | ||
| lib | ||
| lib_text | ||
| tests | ||
| vendor | ||
| .gitignore | ||
| CHANGES | ||
| dune-project | ||
| LICENSE | ||
| Makefile | ||
| nanosvg.opam | ||
| nanosvg_text.opam | ||
| README.md | ||
| VENDOR.md | ||
OCaml bindings to Nano SVG
Nano SVG is a simple single-header SVG parser and rasterizer.
This library implements OCaml bindings to NanoSVG while vendoring the C implementation, thus providing a standalone OCaml library.
Example program
See example/example1.ml. Building it additionally requires tsdl to be installed.
opam install tsdl
make example
# or
dune exec -- example/example1.exe example/23.svg