diagrams-pdf-0.2.0: PDF backend for diagrams drawing EDSL

Safe HaskellNone

Diagrams.Backend.Pdf

Contents

Description

A Pdf rendering backend for diagrams.

To build diagrams for Pdf rendering use the Pdf type in the diagram type construction

 d :: Diagram Pdf R2
 d = ...

and render giving the Pdf token

 renderDia Pdf (PdfOptions (Width 400)) d

This IO action will write the specified file.

Synopsis

Backend token

data Pdf Source

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

Constructors

Pdf 

data family Options b1 v1

Backend-specific rendering options.