diagrams-cairo-0.1.2: Cairo backend for diagrams drawing EDSL

Maintainerdiagrams-discuss@googlegroups.com

Diagrams.Backend.Cairo

Description

A full-featured rendering backend for diagrams using Cairo.

Synopsis

Documentation

data Cairo Source

This data declaration is simply used as a token to distinguish this rendering engine.

Constructors

Cairo 

data family Options b v

Backend-specific rendering options.

data OutputFormat Source

Cairo is able to output to several file formats, which each have their own associated properties that affect the output.

Constructors

PNG

PNG is unique, in that it is not a vector format

Fields

pngSize :: (Int, Int)

the size of the output is given in pixels

PS 

Fields

psSize :: (Double, Double)

the size of the output is given in points

PDF 

Fields

pdfSize :: (Double, Double)

the size of the output is given in points

SVG 

Fields

svgSize :: (Double, Double)

the size of the output is given in points