#include <affine.h>
Public Member Functions | |
| AffineMatrix () | |
| void | identity () |
| void | translate (double x, double y) |
| void | scale (double x, double y) |
| void | multiply (AffineMatrix *dst) |
| void | copy_from (AffineMatrix *src) |
| void | invert (AffineMatrix *dst) |
| void | transform_point (float x, float y, float *newx, float *newy) |
| double | determinant () |
| void | dump () |
Data Fields | |
| double | values [3][3] |
Definition at line 13 of file affine.h.
| void AffineMatrix::identity | ( | ) |
Definition at line 25 of file affine.C.
References values.
Referenced by AffineUnit::calculate_matrix().
| void AffineMatrix::translate | ( | double | x, | |
| double | y | |||
| ) |
Definition at line 33 of file affine.C.
References values.
Referenced by AffineUnit::calculate_matrix().
| void AffineMatrix::scale | ( | double | x, | |
| double | y | |||
| ) |
Definition at line 46 of file affine.C.
References values.
Referenced by AffineUnit::calculate_matrix().
| void AffineMatrix::multiply | ( | AffineMatrix * | dst | ) |
Definition at line 57 of file affine.C.
References copy_from(), t1, t2, t3, and values.
Referenced by AffineUnit::calculate_matrix().

| void AffineMatrix::copy_from | ( | AffineMatrix * | src | ) |
Definition at line 131 of file affine.C.
References memcpy, and values.
Referenced by multiply(), and AffineUnit::process_package().
| void AffineMatrix::invert | ( | AffineMatrix * | dst | ) |
Definition at line 92 of file affine.C.
References determinant(), and values.
Referenced by AffineUnit::process_package().

| void AffineMatrix::transform_point | ( | float | x, | |
| float | y, | |||
| float * | newx, | |||
| float * | newy | |||
| ) |
Definition at line 136 of file affine.C.
References values.
Referenced by AffineUnit::process_package().
| double AffineMatrix::determinant | ( | ) |
| double AffineMatrix::values[3][3] |
Definition at line 27 of file affine.h.
Referenced by AffineMatrix(), AffineUnit::calculate_matrix(), copy_from(), determinant(), dump(), identity(), invert(), multiply(), AffineUnit::process_package(), scale(), transform_point(), and translate().
1.5.5