Module Vg

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.


module Font : sig ... end


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


module I : sig ... end


Image renderers

type renderer

The type for image renderers.

module Vgr : sig ... end

Image renderers.