LibreOffice Module vcl (master) 1
Public Types | Public Member Functions | Public Attributes | List of all members
SvtGraphicFill::Transform Struct Reference

Homogeneous 2D transformation matrix. More...

#include <graphictools.hxx>

Public Types

enum  { MatrixSize =6 }
 

Public Member Functions

 Transform ()
 

Public Attributes

double matrix [MatrixSize]
 

Detailed Description

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.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
MatrixSize 

Definition at line 268 of file graphictools.hxx.

Constructor & Destructor Documentation

◆ Transform()

SvtGraphicFill::Transform::Transform ( )

Definition at line 26 of file graphictools.cxx.

References matrix.

Member Data Documentation

◆ matrix

double SvtGraphicFill::Transform::matrix[MatrixSize]

Definition at line 270 of file graphictools.hxx.

Referenced by Transform().


The documentation for this struct was generated from the following files: