#include <qmatrix.h>
Definition at line 61 of file qmatrix.h.
|
| QMatrix (Qt::Initialization) |
|
| QMatrix () |
|
| QMatrix (qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy) |
|
| QMatrix (const QMatrix &matrix) |
|
void | setMatrix (qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy) |
|
qreal | m11 () const |
|
qreal | m12 () const |
|
qreal | m21 () const |
|
qreal | m22 () const |
|
qreal | dx () const |
|
qreal | dy () const |
|
void | map (int x, int y, int *tx, int *ty) const |
|
void | map (qreal x, qreal y, qreal *tx, qreal *ty) const |
|
QRect | mapRect (const QRect &) const |
|
QRectF | mapRect (const QRectF &) const |
|
QPoint | map (const QPoint &p) const |
|
QPointF | map (const QPointF &p) const |
|
QLine | map (const QLine &l) const |
|
QLineF | map (const QLineF &l) const |
|
QPolygonF | map (const QPolygonF &a) const |
|
QPolygon | map (const QPolygon &a) const |
|
QRegion | map (const QRegion &r) const |
|
QPainterPath | map (const QPainterPath &p) const |
|
QPolygon | mapToPolygon (const QRect &r) const |
|
void | reset () |
|
bool | isIdentity () const |
|
QMatrix & | translate (qreal dx, qreal dy) |
|
QMatrix & | scale (qreal sx, qreal sy) |
|
QMatrix & | shear (qreal sh, qreal sv) |
|
QMatrix & | rotate (qreal a) |
|
bool | isInvertible () const |
|
qreal | determinant () const |
|
QMatrix | inverted (bool *invertible=0) const |
|
bool | operator== (const QMatrix &) const |
|
bool | operator!= (const QMatrix &) const |
|
QMatrix & | operator*= (const QMatrix &) |
|
QMatrix | operator* (const QMatrix &o) const |
|
QMatrix & | operator= (const QMatrix &) |
|
| operator QVariant () const |
|
QMatrix |
( |
qreal |
m11, |
|
|
qreal |
m12, |
|
|
qreal |
m21, |
|
|
qreal |
m22, |
|
|
qreal |
dx, |
|
|
qreal |
dy |
|
) |
| |
void setMatrix |
( |
qreal |
m11, |
|
|
qreal |
m12, |
|
|
qreal |
m21, |
|
|
qreal |
m22, |
|
|
qreal |
dx, |
|
|
qreal |
dy |
|
) |
| |
void map |
( |
qreal |
x, |
|
|
qreal |
y, |
|
|
qreal * |
tx, |
|
|
qreal * |
ty |
|
) |
| const |
bool isIdentity |
( |
| ) |
const |
|
inline |
Definition at line 166 of file qmatrix.h.
168 return qFuzzyIsNull(_m11 - 1) && qFuzzyIsNull(_m22 - 1) && qFuzzyIsNull(_m12)
169 && qFuzzyIsNull(_m21) && qFuzzyIsNull(_dx) && qFuzzyIsNull(_dy);
QMatrix& translate |
( |
qreal |
dx, |
|
|
qreal |
dy |
|
) |
| |
QMatrix& shear |
( |
qreal |
sh, |
|
|
qreal |
sv |
|
) |
| |
bool isInvertible |
( |
| ) |
const |
|
inline |
Definition at line 103 of file qmatrix.h.
103 {
return !qFuzzyIsNull(_m11*_m22 - _m12*_m21); }
qreal determinant |
( |
| ) |
const |
|
inline |
Definition at line 104 of file qmatrix.h.
104 {
return _m11*_m22 - _m12*_m21; }
QMatrix inverted |
( |
bool * |
invertible = 0 | ) |
const |
bool operator== |
( |
const QMatrix & |
| ) |
const |
bool operator!= |
( |
const QMatrix & |
| ) |
const |
The documentation for this class was generated from the following file: