|
Graphics.PDF.Coordinates | Portability | portable | Stability | experimental | Maintainer | misc@NOSPAMalpheccar.org |
|
|
|
|
|
Description |
Coordinates for a PDF document
|
|
Synopsis |
|
|
|
|
Geometry
|
|
Types
|
|
|
|
|
|
|
|
A transformation matrix. An affine transformation a b c d e f
a b 0
c d 0
e f 1
| Constructors | | Instances | |
|
|
Transformations
|
|
|
|
|
Dot product of two points
'dot (x :+ y) (a :+ b) == x * a + y * b'
'dot z w == magnitude z * magnitude w * cos (phase z - phase w)'
|
|
|
|
|
projects the first point onto the second
|
|
|
projects a point onto the x-axis
|
|
|
projects a point onto the y-axis
|
|
|
:: Point | X component
| -> Point | Y component
| -> Point | translation component
| -> Matrix | | Specifies a matrix as three points
|
|
|
|
Applies a matrix to a point
|
|
|
Identity matrix
|
|
|
|
|
|
Translation matrix
'transform (translate z) w == z + w'
|
|
|
|
|
|
|
Produced by Haddock version 2.3.0 |