annotation |
documentation | An affine transformation of the two dimensional plane. Points that are collinear before the transformation are still collinear afterwards. Ratios of distances between collinear points are preserved by the transformation. The transformation has six parameters:
a - horizontal scale
b - horizontal shear
c - horizontal translation
d - vertical shear
e - vertical scale
f - vertical translation
A point (x, y) is transformed to the point (ax + by + c, dx + ey + f).The transformation can be expressed as matrix multiplication:
-- -- -- -- -- --
| a b c | | x | | ax + by + c |
| d e f | | y | = | dx + ey + f |
-- -- | 1 | -- --
-- --
or:
-- -- -- -- -- --
| x y 1 | | a d | | ax + by + c |
-- -- | b e | = | dx + ey + f |
| c f | -- --
-- --
|
|