![]() |
Qt 6.x
The Qt SDK
|
#include <qopenvgmatrix.h>
Public Member Functions | |
QOpenVGMatrix () | |
QOpenVGMatrix (const float *values) | |
const float & | operator() (int row, int column) const |
float & | operator() (int row, int column) |
bool | isIdentity () const |
void | setToIdentity () |
bool | isAffine () const |
QPointF | map (const QPointF &point) const |
void | fill (float value) |
QOpenVGMatrix | transposed () const |
QOpenVGMatrix & | operator+= (const QOpenVGMatrix &other) |
QOpenVGMatrix & | operator-= (const QOpenVGMatrix &other) |
QOpenVGMatrix & | operator*= (const QOpenVGMatrix &other) |
QOpenVGMatrix & | operator*= (float factor) |
QOpenVGMatrix & | operator/= (float divisor) |
bool | operator== (const QOpenVGMatrix &other) const |
bool | operator!= (const QOpenVGMatrix &other) const |
void | copyDataTo (float *values) const |
float * | data () |
const float * | data () const |
const float * | constData () const |
Friends | |
QOpenVGMatrix | operator* (const QOpenVGMatrix &m1, const QOpenVGMatrix &m2) |
QPointF | operator* (const QPointF &point, const QOpenVGMatrix &matrix) |
QPointF | operator* (const QOpenVGMatrix &matrix, const QPointF &point) |
QDebug | operator<< (QDebug dbg, const QOpenVGMatrix &m) |
Definition at line 13 of file qopenvgmatrix.h.
QT_BEGIN_NAMESPACE QOpenVGMatrix::QOpenVGMatrix | ( | ) |
Definition at line 13 of file qopenvgmatrix.cpp.
References setToIdentity().
|
explicit |
Definition at line 18 of file qopenvgmatrix.cpp.
|
inline |
Definition at line 51 of file qopenvgmatrix.h.
void QOpenVGMatrix::copyDataTo | ( | float * | values | ) | const |
Definition at line 223 of file qopenvgmatrix.cpp.
|
inline |
Definition at line 49 of file qopenvgmatrix.h.
|
inline |
Definition at line 50 of file qopenvgmatrix.h.
void QOpenVGMatrix::fill | ( | float | value | ) |
Definition at line 77 of file qopenvgmatrix.cpp.
bool QOpenVGMatrix::isAffine | ( | ) | const |
Definition at line 64 of file qopenvgmatrix.cpp.
bool QOpenVGMatrix::isIdentity | ( | ) | const |
Definition at line 37 of file qopenvgmatrix.cpp.
Definition at line 72 of file qopenvgmatrix.cpp.
Referenced by QSGOpenVGRectangleNode::render().
bool QOpenVGMatrix::operator!= | ( | const QOpenVGMatrix & | other | ) | const |
Definition at line 210 of file qopenvgmatrix.cpp.
References other().
float & QOpenVGMatrix::operator() | ( | int | row, |
int | column | ||
) |
Definition at line 31 of file qopenvgmatrix.cpp.
References Q_ASSERT.
const float & QOpenVGMatrix::operator() | ( | int | row, |
int | column | ||
) | const |
Definition at line 25 of file qopenvgmatrix.cpp.
References Q_ASSERT.
QOpenVGMatrix & QOpenVGMatrix::operator*= | ( | const QOpenVGMatrix & | other | ) |
Definition at line 128 of file qopenvgmatrix.cpp.
References other().
QOpenVGMatrix & QOpenVGMatrix::operator*= | ( | float | factor | ) |
Definition at line 169 of file qopenvgmatrix.cpp.
QOpenVGMatrix & QOpenVGMatrix::operator+= | ( | const QOpenVGMatrix & | other | ) |
Definition at line 100 of file qopenvgmatrix.cpp.
References other().
QOpenVGMatrix & QOpenVGMatrix::operator-= | ( | const QOpenVGMatrix & | other | ) |
Definition at line 114 of file qopenvgmatrix.cpp.
References other().
QOpenVGMatrix & QOpenVGMatrix::operator/= | ( | float | divisor | ) |
Definition at line 183 of file qopenvgmatrix.cpp.
bool QOpenVGMatrix::operator== | ( | const QOpenVGMatrix & | other | ) | const |
Definition at line 197 of file qopenvgmatrix.cpp.
References other().
void QOpenVGMatrix::setToIdentity | ( | ) |
Definition at line 51 of file qopenvgmatrix.cpp.
Referenced by QOpenVGMatrix().
QOpenVGMatrix QOpenVGMatrix::transposed | ( | ) | const |
Definition at line 90 of file qopenvgmatrix.cpp.
|
friend |
Definition at line 232 of file qopenvgmatrix.cpp.
|
friend |
Definition at line 287 of file qopenvgmatrix.cpp.
|
friend |
Definition at line 267 of file qopenvgmatrix.cpp.
|
friend |
Definition at line 307 of file qopenvgmatrix.cpp.