vg
  1. Overview
  2. Docs
Declarative 2D vector graphics for OCaml

Install

Authors

Maintainers

Sources

vg-0.9.3.tbz
md5=98cfbcb6ad873a3bd6a52270e7d905a6

Description

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 ISC license.

Dependencies (9)

  1. js_of_ocaml-ppx >= "3.3.0"
  2. js_of_ocaml-ocamlbuild >= "3.1.0"
  3. js_of_ocaml-compiler >= "3.3.0"
  4. js_of_ocaml >= "3.3.0" & < "3.6.0"
  5. gg >= "0.9.0"
  6. topkg build
  7. ocamlbuild build
  8. ocamlfind build
  9. ocaml >= "4.03.0"

Dev Dependencies

None

Conflicts (3)

  1. cairo2 < "0.6"
  2. uutf < "1.0.0"
  3. otfm < "0.3.0"