hps-0.11: Haskell Postscript

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.

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

Translation in x and y.

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

Scaling in x and y.

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

Rotation, in radians.