LibreOffice Module vcl (master) 1
|
Homogeneous 2D transformation matrix. More...
#include <graphictools.hxx>
Public Types | |
enum | { MatrixSize =6 } |
Public Member Functions | |
Transform () | |
Public Attributes | |
double | matrix [MatrixSize] |
Homogeneous 2D transformation matrix.
This is a 2x3 matrix representing an affine transformation on the R^2, in the usual C/C++ row major form. It is structured as follows:
a b t_x c d t_y 0 0 1
where the lowest line is not stored in the matrix, since it is constant. Variables t_x and t_y contain translational components, a to d rotation, scale and shear (for details, look up your favorite linear algebra/computer graphics book).
Definition at line 266 of file graphictools.hxx.
anonymous enum |
Enumerator | |
---|---|
MatrixSize |
Definition at line 268 of file graphictools.hxx.
SvtGraphicFill::Transform::Transform | ( | ) |
Definition at line 26 of file graphictools.cxx.
References matrix.
double SvtGraphicFill::Transform::matrix[MatrixSize] |
Definition at line 270 of file graphictools.hxx.
Referenced by Transform().