diagrams-lib-1.1.0.7: Embedded domain-specific language for declarative graphics

Safe HaskellNone

Diagrams.TwoD.Deform

Synopsis

Documentation

parallelX0 :: Deformation R2Source

The parallel projection onto the line x=0

perspectiveX1 :: Deformation R2Source

The perspective division onto the line x=1 along lines going through the origin.

parallelY0 :: Deformation R2Source

The parallel projection onto the line y=0

perspectiveY1 :: Deformation R2Source

The perspective division onto the line y=1 along lines going through the origin.

facingX :: Deformation R2Source

The viewing transform for a viewer facing along the positive X axis. X coördinates stay fixed, while Y coördinates are compressed with increasing distance. asDeformation (translation unitX) parallelX0 frustrumX = perspectiveX1