vg

AuthorDaniel Bünzli <daniel.buenzl i@erratique.ch>
LicenseBSD-3-Clause
Homepagehttp://erratique.ch/software/vg
Issue Trackerhttps://github.com/dbuenzli/vg/issues
Tagspdf, svg, html-canvas, declarative, graphics and org:erratique
MaintainerDaniel Bünzli <daniel.buenzl i@erratique.ch>
Dependencies
&gg>= 0.9.0
ocamlbuild
ocamlfind
Optional dependencies
|cairo2
js_of_ocaml
otfm
uutf
Availableocaml-version >= "4.02.0"
PublishedAug 14, 2015
Source [http] http://erratique.ch/software/vg/releases/vg-0.8.2.tbz
f8e7efd20d6ffd5f50ea78f993d28b9e
StatisticsInstalled once last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/vg/vg.0.8.2/opam

Declarative 2D vector graphics for OCaml

Vg is an OCaml module for declarative 2D vector graphics. In Vg, images are values that denote functions mapping points of the cartesian plane to colors. The module provides combinators to define and compose these values.

Renderers for PDF, SVG, Cairo and the HTML canvas are distributed with the module. An API allows to implement new renderers.

Vg depends only on Gg. The SVG renderer has no dependency, the PDF renderer depends on Uutf and Otfm, the HTML canvas renderer depends on js_of_ocaml, the Cairo renderer depends on cairo2. Vg and its renderers are distributed under the BSD3 license.

Necessary for
hardcaml-bloop