HPDF-1.4.2: Generation of PDF documents

Portabilityportable
Stabilityexperimental
Maintainermisc@NOSPAMalpheccar.org

Graphics.PDF

Contents

Description

Generation of PDF documents

Synopsis

HPDF

PDF Monad

data PDF a Source

The PDF Monad

Instances

runPdfSource

Arguments

:: String

Name of the PDF document

-> PDFDocumentInfo 
-> PDFRect

Default size for a page

-> PDF a

PDF action

-> IO () 

Generates a PDF document

PDF Common Types

data PDFRect Source

A PDF rectangle

Constructors

PDFRect !Int !Int !Int !Int 

Instances

PdfObject PDFRect 

type PDFFloat = DoubleSource

A real number in a PDF document

data PDFReference s Source

A reference to a PDF object

Instances

Eq (PDFReference s) 
PdfObject s => Num (PDFReference s) 
Ord (PDFReference s) 
Show (PDFReference s) 
PdfObject s => PdfObject (PDFReference s) 
PdfResourceObject (PDFReference AnyPdfPattern) 
PdfResourceObject (PDFReference PDFColoredPattern) 
PdfResourceObject (PDFReference PDFUncoloredPattern) 
PdfResourceObject (PDFReference PDFXForm) 
PdfResourceObject (PDFReference AnyPdfXForm) 
PdfResourceObject (PDFReference PDFJpeg) 

data PDFString Source

A PDFString containing a strict bytestring

Instances

Eq PDFString 
Ord PDFString 
Show PDFString 
PdfObject PDFString 
SerializeValue ByteString PDFString 
SerializeValue Builder PDFString 

data PDFPage Source

A PDF Page object

Instances

Show PDFPage 
PdfObject PDFPage 

data Pages Source

List of all pages

Document management

Drawing

Colors

Geometry

applyMatrix :: Matrix -> Draw ()Source

Apply a transformation matrix to the current coordinate frame

Text

Navigation

Annotations

Actions

Images

Patterns

Shading

Typesetting