| Safe Haskell | Safe |
|---|---|
| Language | Haskell98 |
Graphics.PS.Transform
Description
Class and associated functions for Matrix transformations.
- class Transformable t where
- translate :: Transformable t => Double -> Double -> t -> t
- scale :: Transformable t => Double -> Double -> t -> t
- rotate :: Transformable t => Double -> t -> t
Documentation
class Transformable t where Source #
Values that can be transformed in relation to a Matrix.
Minimal complete definition
Methods
mtransform :: Matrix Double -> t -> t Source #
Instances
rotate :: Transformable t => Double -> t -> t Source #
Rotation, in radians.