package nanosvg

  1. Overview
  2. Docs
Simple SVG parser and rasterizer

Install

Dune Dependency

Authors

Maintainers

Sources

nanosvg-0.2.tbz
sha256=6e5faac6eba5be4ea2a45f578d78361e2fd6859747b38633d324031566bf6d57
sha512=b9bf380e9f1eace69bb4f05c3908c32898e1d054d536f69aababa8050aba0f91a0d2d7ab58bddda0fcdd4370c5270cd81c1d490dc1b35ecb0b1f79437192178a

Description

The NanoSVG library and rasterizer, packaged as an OCaml library

Published: 27 Jan 2023

README

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

Dependencies (2)

  1. dune >= "2.7"
  2. ocaml >= "4.14.0"

Dev Dependencies (1)

  1. odoc with-doc

Conflicts

None

OCaml

Innovation. Community. Security.