hps-0.15: Haskell Postscript

Safe HaskellSafe-Inferred
LanguageHaskell98

Graphics.PS.Transform

Description

Class and associated functions for Matrix transformations.

Synopsis

Documentation

class Transformable a Source

Values that can be transformed in relation to a Matrix.

Minimal complete definition

transform

translate :: Transformable a => Double -> Double -> a -> a Source

Translation in x and y.

scale :: Transformable a => Double -> Double -> a -> a Source

Scaling in x and y.

rotate :: Transformable a => Double -> a -> a Source

Rotation, in radians.