#include <QtGui/qpolygon.h>
#include <QtGui/qregion.h>
#include <QtGui/qwindowdefs.h>
#include <QtCore/qline.h>
#include <QtCore/qpoint.h>
#include <QtCore/qrect.h>
Go to the source code of this file.
|
Q_GUI_EXPORT_INLINE QPoint | operator* (const QPoint &p, const QMatrix &m) |
|
Q_GUI_EXPORT_INLINE QPointF | operator* (const QPointF &p, const QMatrix &m) |
|
Q_GUI_EXPORT_INLINE QLineF | operator* (const QLineF &l, const QMatrix &m) |
|
Q_GUI_EXPORT_INLINE QLine | operator* (const QLine &l, const QMatrix &m) |
|
Q_GUI_EXPORT_INLINE QPolygon | operator* (const QPolygon &a, const QMatrix &m) |
|
Q_GUI_EXPORT_INLINE QPolygonF | operator* (const QPolygonF &a, const QMatrix &m) |
|
Q_GUI_EXPORT_INLINE QRegion | operator* (const QRegion &r, const QMatrix &m) |
|
Q_GUI_EXPORT QPainterPath | operator* (const QPainterPath &p, const QMatrix &m) |
|
Q_GUI_EXPORT QDataStream & | operator<< (QDataStream &, const QMatrix &) |
|
Q_GUI_EXPORT QDebug | operator<< (QDebug, const QMatrix &) |
|
Q_GUI_EXPORT QDataStream & | operator>> (QDataStream &, QMatrix &) |
|
| Q_DECLARE_TYPEINFO (QMatrix, Q_MOVABLE_TYPE) |
|
bool | qFuzzyCompare (const QMatrix &m1, const QMatrix &m2) |
|
◆ operator*() [1/8]
Definition at line 150 of file qmatrix.h.
Referenced by QMatrix::det(), and operator*().
void map(int x, int y, int *tx, int *ty) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
◆ operator*() [2/8]
Definition at line 152 of file qmatrix.h.
void map(int x, int y, int *tx, int *ty) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
◆ operator*() [3/8]
Definition at line 154 of file qmatrix.h.
void map(int x, int y, int *tx, int *ty) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
◆ operator*() [4/8]
Definition at line 156 of file qmatrix.h.
void map(int x, int y, int *tx, int *ty) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
◆ operator*() [5/8]
Definition at line 158 of file qmatrix.h.
void map(int x, int y, int *tx, int *ty) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
◆ operator*() [6/8]
Definition at line 160 of file qmatrix.h.
void map(int x, int y, int *tx, int *ty) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
◆ operator*() [7/8]
Definition at line 162 of file qmatrix.h.
void map(int x, int y, int *tx, int *ty) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
◆ operator*() [8/8]
Definition at line 1200 of file qmatrix.cpp.
void map(int x, int y, int *tx, int *ty) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
◆ operator<<() [1/2]
Definition at line 1223 of file qmatrix.cpp.
Referenced by qFuzzyCompare().
1225 if (s.version() == 1) {
1226 s << (float)m.m11() << (float)m.m12() << (float)m.m21()
1227 << (float)m.m22() << (float)m.dx() << (float)m.dy();
1229 s << double(m.m11())
◆ operator<<() [2/2]
Definition at line 1275 of file qmatrix.cpp.
1277 dbg.nospace() <<
"QMatrix(" 1279 <<
" 12=" << m.m12()
1280 <<
" 21=" << m.m21()
1281 <<
" 22=" << m.m22()
◆ operator>>()
Definition at line 1252 of file qmatrix.cpp.
Referenced by qFuzzyCompare().
1254 if (s.version() == 1) {
1255 float m11, m12, m21, m22, dx, dy;
1256 s >> m11; s >> m12; s >> m21; s >> m22;
1258 m.setMatrix(m11, m12, m21, m22, dx, dy);
1261 double m11, m12, m21, m22, dx, dy;
1268 m.setMatrix(m11, m12, m21, m22, dx, dy);
◆ Q_DECLARE_TYPEINFO()
◆ qFuzzyCompare()
Definition at line 172 of file qmatrix.h.
qreal dx() const
Returns the horizontal translation factor.
qreal m12() const
Returns the vertical shearing factor.
qreal m11() const
Returns the horizontal scaling factor.
qreal m21() const
Returns the horizontal shearing factor.
qreal dy() const
Returns the vertical translation factor.
bool qFuzzyCompare(const QMatrix &m1, const QMatrix &m2)
The qFuzzyCompare function is for comparing two matrices using a fuzziness factor.
qreal m22() const
Returns the vertical scaling factor.