package nanosvg
Simple SVG parser and rasterizer
Install
Dune Dependency
Authors
Maintainers
Sources
nanosvg-0.1.tbz
sha256=65072bf543aec603643a80b62c42ed5b74d4c932ee885df6cca6e725c15038f3
sha512=53ac01f01326a10dca1439adc56bec80e01f7ba2461834f1f799d23af65ec5f26096d6ec9aa8a3d4ec9c9e77083a493914f497c31a5fa9957d131edd162e5507
Description
The NanoSVG library and rasterizer, packaged as an OCaml library
Published: 24 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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page