package nanosvg

All checked builds pass
  1. Overview
  2. Docs
Simple SVG parser and rasterizer

Install

dune-project
 Dependency

Authors

Maintainers

Sources

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

Description

The NanoSVG library and rasterizer, packaged as an OCaml library

Added to opam-repository:

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

Optional Dependencies

None

Conflicts

None

Build status

Results of building nanosvg with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.2 (this version) n/a good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure