AggPas - Anti-Grain Geomertry for Object Pascal

TAggTransformations

Description

TAggTransformations is a data structure containing an affine matrix.

A linear transformation (multiplication by a 2 × 2 matrix) followed by a translation (addition of a 1 × 2 matrix) is called an Affine Transformation. After any affine transformation a line segment remains a line segment and will never become a curve.

Affine Transformation
Linear Part  [0] sx  [1] shy  sx, sy   = scaling
 [2] shx  [3] sy  shx, shy = skewing
Translation Part  [4] tx  [5] ty  tx, ty   = translation

Structure

affineMatrix: array[0..5] of double