Safe Haskell | None |
---|
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.
- data Pdf = Pdf
- data family Options b1 v1
- sizeFromSpec :: SizeSpec2D -> (Double, Double)
Backend token
This data declaration is simply used as a token to distinguish this rendering engine.
data family Options b1 v1
Backend-specific rendering options.
sizeFromSpec :: SizeSpec2D -> (Double, Double)Source