#ifndef PYTHONQTWRAPPER_QTRANSFORM_H #define PYTHONQTWRAPPER_QTRANSFORM_H #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QTransform : public QObject { Q_OBJECT public: public slots: QTransform* new_QTransform(); QTransform* new_QTransform(const QMatrix& mtx); QTransform* new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23); QTransform* new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33 = 1.0); void delete_QTransform(QTransform* obj) { delete obj; } QTransform adjoint(QTransform* theWrappedObject) const; qreal det(QTransform* theWrappedObject) const; qreal determinant(QTransform* theWrappedObject) const; qreal dx(QTransform* theWrappedObject) const; qreal dy(QTransform* theWrappedObject) const; QTransform inverted(QTransform* theWrappedObject, bool* invertible = 0) const; bool isAffine(QTransform* theWrappedObject) const; bool isIdentity(QTransform* theWrappedObject) const; bool isInvertible(QTransform* theWrappedObject) const; bool isRotating(QTransform* theWrappedObject) const; bool isScaling(QTransform* theWrappedObject) const; bool isTranslating(QTransform* theWrappedObject) const; qreal m11(QTransform* theWrappedObject) const; qreal m12(QTransform* theWrappedObject) const; qreal m13(QTransform* theWrappedObject) const; qreal m21(QTransform* theWrappedObject) const; qreal m22(QTransform* theWrappedObject) const; qreal m23(QTransform* theWrappedObject) const; qreal m31(QTransform* theWrappedObject) const; qreal m32(QTransform* theWrappedObject) const; qreal m33(QTransform* theWrappedObject) const; QLine map(QTransform* theWrappedObject, const QLine& l) const; QLineF map(QTransform* theWrappedObject, const QLineF& l) const; QPainterPath map(QTransform* theWrappedObject, const QPainterPath& p) const; QPoint map(QTransform* theWrappedObject, const QPoint& p) const; QPointF map(QTransform* theWrappedObject, const QPointF& p) const; QPolygon map(QTransform* theWrappedObject, const QPolygon& a) const; QPolygonF map(QTransform* theWrappedObject, const QPolygonF& a) const; QRegion map(QTransform* theWrappedObject, const QRegion& r) const; QRect mapRect(QTransform* theWrappedObject, const QRect& arg__1) const; QRectF mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const; QPolygon mapToPolygon(QTransform* theWrappedObject, const QRect& r) const; QTransform multiplied(QTransform* theWrappedObject, const QTransform& o) const; QTransform& operator_multiply_assign(QTransform* theWrappedObject, const QTransform& arg__1); QTransform& operator_multiply_assign(QTransform* theWrappedObject, qreal div); QTransform& operator_add_assign(QTransform* theWrappedObject, qreal div); QTransform& operator_subtract_assign(QTransform* theWrappedObject, qreal div); QTransform& operator_divide_assign(QTransform* theWrappedObject, qreal div); void writeTo(QTransform* theWrappedObject, QDataStream& arg__1); bool operator_equal(QTransform* theWrappedObject, const QTransform& arg__1) const; void readFrom(QTransform* theWrappedObject, QDataStream& arg__1); bool static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result); bool static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result); void reset(QTransform* theWrappedObject); QTransform& rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); QTransform& rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); QTransform& scale(QTransform* theWrappedObject, qreal sx, qreal sy); void setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33); QTransform& shear(QTransform* theWrappedObject, qreal sh, qreal sv); bool static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result); const QMatrix& toAffine(QTransform* theWrappedObject) const; QTransform& translate(QTransform* theWrappedObject, qreal dx, qreal dy); QTransform transposed(QTransform* theWrappedObject) const; QTransform::TransformationType type(QTransform* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QTRANSFORM_H