HPDF-0.3: PDF API for HaskellContentsIndex
Graphics.PDF.Geometry
Contents
Geometry
Units
Data types
Transformations
Description
Transformations of a PDF document
Synopsis
data Angle
= Degree Float
| Radian Float
data Matrix
rotate :: Angle -> Matrix
translate :: Float -> Float -> Matrix
scale :: Float -> Float -> Matrix
applyMatrix :: Matrix -> PdfCmd
identity :: Matrix
Geometry
Units
data Angle
Angle
Constructors
Degree FloatAngle in degrees
Radian FloatAngle in radians
Data types
data Matrix
A transformation matrix (affine transformation)
show/hide Instances
Transformations
rotate :: Angle -> Matrix
Rotation matrix
translate :: Float -> Float -> Matrix
Translation matrix
scale :: Float -> Float -> Matrix
Scaling matrix
applyMatrix :: Matrix -> PdfCmd
Apply a transformation matrix to the current coordinate frame
identity :: Matrix
Identity matrix
Produced by Haddock version 0.8