◆ PerspectiveMatrix()
DigikamEditorPerspectiveToolPlugin::PerspectiveMatrix::PerspectiveMatrix |
( |
| ) |
|
|
explicit |
◆ determinant()
double DigikamEditorPerspectiveToolPlugin::PerspectiveMatrix::determinant |
( |
| ) |
const |
determinant:
Calculates the determinant of this matrix.
Returns: The determinant.
References coeff.
Referenced by invert().
◆ invert()
void DigikamEditorPerspectiveToolPlugin::PerspectiveMatrix::invert |
( |
| ) |
|
◆ multiply()
void DigikamEditorPerspectiveToolPlugin::PerspectiveMatrix::multiply |
( |
const PerspectiveMatrix & |
matrix1 | ) |
|
◆ scale()
void DigikamEditorPerspectiveToolPlugin::PerspectiveMatrix::scale |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
scale:
- Parameters
-
x | X scale factor. |
y | Y scale factor. |
Scales the matrix by x and y
References coeff.
◆ transformPoint()
void DigikamEditorPerspectiveToolPlugin::PerspectiveMatrix::transformPoint |
( |
double |
x, |
|
|
double |
y, |
|
|
double * |
newx, |
|
|
double * |
newy |
|
) |
| const |
transformPoint:
- Parameters
-
x | The source X coordinate. |
y | The source Y coordinate. |
newx | The transformed X coordinate. |
newy | The transformed Y coordinate. |
Transforms a point in 2D as specified by the transformation matrix.
References coeff.
◆ translate()
void DigikamEditorPerspectiveToolPlugin::PerspectiveMatrix::translate |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
translate:
- Parameters
-
x | Translation in X direction. |
y | Translation in Y direction. |
Translates the matrix by x and y.
References coeff.
◆ coeff
double DigikamEditorPerspectiveToolPlugin::PerspectiveMatrix::coeff[3][3] |
The documentation for this class was generated from the following files: