44 #include <QtGui/qmatrix.h> 45 #include <QtGui/qpainterpath.h> 46 #include <QtGui/qpolygon.h> 47 #include <QtGui/qregion.h> 48 #include <QtGui/qwindowdefs.h> 49 #include <QtCore/qline.h> 50 #include <QtCore/qpoint.h> 51 #include <QtCore/qrect.h> 53 #if defined(Q_OS_VXWORKS) && defined(m_type) 86 bool isAffine()
const;
87 bool isIdentity()
const;
88 bool isInvertible()
const;
89 bool isScaling()
const;
90 bool isRotating()
const;
91 bool isTranslating()
const;
95 inline qreal determinant()
const;
114 QTransform inverted(
bool *invertible = 0)
const;
126 static bool quadToQuad(
const QPolygonF &one,
152 void map(
int x,
int y,
int *tx,
int *ty)
const;
155 const QMatrix &toAffine()
const;
169 : affine(h11, h12, h21, h22, h31, h32, true)
170 , m_13(h13), m_23(h23), m_33(h33)
172 , m_dirty(TxProject) {}
175 , m_13(0), m_23(0), m_33(1)
195 if (m_dirty == TxNone)
202 return inline_type() < TxProject;
206 return inline_type() == TxNone;
216 return type() >= TxScale;
220 return inline_type() >= TxRotate;
225 return inline_type() >= TxTranslate;
230 return affine._m11*(m_33*affine._m22-affine._dy*m_23) -
231 affine._m21*(m_33*affine._m12-affine._dy*m_13)+affine._dx*(m_23*affine._m12-affine._m22*m_13);
235 return determinant();
295 if (m_dirty < TxScale)
304 return operator*=(div);
354 #ifndef QT_NO_DATASTREAM 359 #ifndef QT_NO_DEBUG_STREAM The QVariant class acts like a union for the most common Qt data types.
The QDebug class provides an output stream for debugging information.
#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_CORE_EXPORT QTextStream & reset(QTextStream &s)
The QPointF class defines a point in the plane using floating point precision.
long ASN1_INTEGER_get ASN1_INTEGER * a
The QPolygon class provides a vector of points using integer precision.
bool operator!=(QBool b1, bool b2)
The QLineF class provides a two-dimensional vector using floating point precision.
QFuture< void > map(Sequence &sequence, MapFunction function)
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
The QPolygonF class provides a vector of points using floating point precision.
The QRegion class specifies a clip region for a painter.
The QPoint class defines a point in the plane using integer precision.
The QRect class defines a rectangle in the plane using integer precision.
#define Q_GUI_EXPORT_INLINE
static Q_DECL_CONSTEXPR bool qFuzzyIsNull(double d)
The QDataStream class provides serialization of binary data to a QIODevice.
timeval & operator+=(timeval &t1, const timeval &t2)
bool operator==(QBool b1, bool b2)