45 #include <QtGui/qpolygon.h> 46 #include <QtGui/qregion.h> 47 #include <QtGui/qwindowdefs.h> 48 #include <QtCore/qline.h> 49 #include <QtCore/qpoint.h> 50 #include <QtCore/qrect.h> 80 void map(
int x,
int y,
int *tx,
int *ty)
const;
96 inline bool isIdentity()
const;
109 QMatrix inverted(
bool *invertible = 0)
const;
122 inline QT3_SUPPORT
QMatrix invert(
bool *invertible=0)
const {
return inverted(invertible); }
123 inline QT3_SUPPORT
QRect map(
const QRect &r)
const {
return mapRect(r); }
187 #ifndef QT_NO_DATASTREAM 192 #ifndef QT_NO_DEBUG_STREAM 198 #include <QtGui/qwmatrix.h> The QVariant class acts like a union for the most common Qt data types.
The QDebug class provides an output stream for debugging information.
bool isInvertible() const
Returns true if the matrix is invertible, otherwise returns false.
#define QT_END_NAMESPACE
This macro expands to.
The QLine class provides a two-dimensional vector using integer precision.
The QMatrix class specifies 2D transformations of a coordinate system.
The QPainterPath class provides a container for painting operations, enabling graphical shapes to be ...
Q_GUI_EXPORT QDataStream & operator>>(QDataStream &, QMatrix &)
qreal dx() const
Returns the horizontal translation factor.
Q_CORE_EXPORT QTextStream & reset(QTextStream &s)
The QPointF class defines a point in the plane using floating point precision.
#define QT_END_INCLUDE_NAMESPACE
This macro is equivalent to QT_BEGIN_NAMESPACE.
long ASN1_INTEGER_get ASN1_INTEGER * a
The QPolygon class provides a vector of points using integer precision.
bool operator!=(QBool b1, bool b2)
qreal m12() const
Returns the vertical shearing factor.
qreal determinant() const
Returns the matrix's determinant.
The QLineF class provides a two-dimensional vector using floating point precision.
qreal m11() const
Returns the horizontal scaling factor.
Q_DECLARE_TYPEINFO(QMatrix, Q_MOVABLE_TYPE)
qreal m21() const
Returns the horizontal shearing factor.
QFuture< void > map(Sequence &sequence, MapFunction function)
QT_DEPRECATED qreal det() const
Returns the matrix's determinant.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
Q_GUI_EXPORT_INLINE QPoint operator*(const QPoint &p, const QMatrix &m)
Q_GUI_EXPORT QDataStream & operator<<(QDataStream &, const QMatrix &)
The QPolygonF class provides a vector of points using floating point precision.
The QRegion class specifies a clip region for a painter.
QMatrix(Qt::Initialization)
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...
qreal dy() const
Returns the vertical translation factor.
bool qFuzzyCompare(const QMatrix &m1, const QMatrix &m2)
The QPoint class defines a point in the plane using integer precision.
The QRect class defines a rectangle in the plane using integer precision.
QMatrix(qreal am11, qreal am12, qreal am21, qreal am22, qreal adx, qreal ady, bool)
#define QT_BEGIN_INCLUDE_NAMESPACE
This macro is equivalent to QT_END_NAMESPACE.
#define Q_GUI_EXPORT_INLINE
static Q_DECL_CONSTEXPR bool qFuzzyIsNull(double d)
bool isIdentity() const
Returns true if the matrix is the identity matrix, otherwise returns false.
The QDataStream class provides serialization of binary data to a QIODevice.
bool operator==(QBool b1, bool b2)
qreal m22() const
Returns the vertical scaling factor.