package vg

  1. Overview
  2. Docs

Declarative 2D vector graphics.

Consult the tutorial, the semantics and the image howto.

Open the module to use it, this defines only modules and types in your scope.

Fonts

module Font : sig ... end

Fonts.

type font = Font.t

The type for fonts.

type glyph = int

The type for glyphs. The integer represents a glyph identifier in a backend dependent font format.

Paths and images

type path

The type for paths.

type image

The type for images.

module P : sig ... end

Paths.

module I : sig ... end

Images.

Image renderers

type renderer

The type for image renderers.

module Vgr : sig ... end

Image renderers.

OCaml

Innovation. Community. Security.