PythonQtWrapper_QTransform.cpp
302 lines
| 8.2 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QTransform.h" | ||
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
|
r13 | #include <QVariant> | ||
#include <qdatastream.h> | ||||
#include <qline.h> | ||||
#include <qmatrix.h> | ||||
#include <qpainterpath.h> | ||||
#include <qpoint.h> | ||||
#include <qpolygon.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qtransform.h> | ||||
QTransform* PythonQtWrapper_QTransform::new_QTransform() | ||||
{ | ||||
return new QTransform(); } | ||||
QTransform* PythonQtWrapper_QTransform::new_QTransform(const QMatrix& mtx) | ||||
{ | ||||
return new QTransform(mtx); } | ||||
QTransform* PythonQtWrapper_QTransform::new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23) | ||||
{ | ||||
return new QTransform(h11, h12, h13, h21, h22, h23); } | ||||
QTransform* PythonQtWrapper_QTransform::new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33) | ||||
{ | ||||
return new QTransform(h11, h12, h13, h21, h22, h23, h31, h32, h33); } | ||||
|
r28 | void PythonQtWrapper_QTransform::readFrom(QTransform* theWrappedObject, QDataStream& arg__1) | ||
|
r13 | { | ||
|
r28 | arg__1 >> (*theWrappedObject); | ||
|
r13 | } | ||
|
r24 | QTransform& PythonQtWrapper_QTransform::operator_divide_assign(QTransform* theWrappedObject, qreal div) | ||
|
r13 | { | ||
|
r24 | return (*theWrappedObject)/= div; | ||
|
r13 | } | ||
|
r28 | const QMatrix& PythonQtWrapper_QTransform::toAffine(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->toAffine(); | ||
|
r13 | } | ||
|
r24 | bool PythonQtWrapper_QTransform::isInvertible(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isInvertible(); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTransform::m11(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->m11(); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTransform::m13(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->m13(); | ||
|
r13 | } | ||
|
r24 | qreal PythonQtWrapper_QTransform::m22(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->m22(); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTransform::m32(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->m32(); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTransform::det(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->det(); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTransform::isTranslating(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isTranslating(); | ||
|
r13 | } | ||
|
r28 | QTransform& PythonQtWrapper_QTransform::rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->rotateRadians(a, axis); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTransform::isRotating(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isRotating(); | ||
|
r13 | } | ||
|
r24 | bool PythonQtWrapper_QTransform::static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result) | ||
|
r13 | { | ||
|
r24 | return QTransform::squareToQuad(square, result); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTransform::dy(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->dy(); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTransform::m21(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->m21(); | ||
|
r13 | } | ||
|
r28 | QTransform& PythonQtWrapper_QTransform::shear(QTransform* theWrappedObject, qreal sh, qreal sv) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->shear(sh, sv); | ||
|
r13 | } | ||
|
r28 | QLineF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QLineF& l) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->map(l); | ||
|
r13 | } | ||
|
r28 | QTransform& PythonQtWrapper_QTransform::rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->rotate(a, axis); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTransform::static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result) | ||
|
r13 | { | ||
|
r28 | return QTransform::quadToQuad(one, two, result); | ||
|
r13 | } | ||
|
r28 | QTransform& PythonQtWrapper_QTransform::operator_add_assign(QTransform* theWrappedObject, qreal div) | ||
|
r13 | { | ||
|
r28 | return (*theWrappedObject)+= div; | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTransform::writeTo(QTransform* theWrappedObject, QDataStream& arg__1) | ||
|
r13 | { | ||
|
r28 | arg__1 << (*theWrappedObject); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTransform::m23(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->m23(); | ||
|
r13 | } | ||
|
r28 | QTransform& PythonQtWrapper_QTransform::scale(QTransform* theWrappedObject, qreal sx, qreal sy) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->scale(sx, sy); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTransform::m31(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->m31(); | ||
|
r13 | } | ||
|
r28 | QPolygonF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPolygonF& a) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->map(a); | ||
|
r13 | } | ||
|
r28 | QTransform& PythonQtWrapper_QTransform::operator_multiply_assign(QTransform* theWrappedObject, qreal div) | ||
|
r13 | { | ||
|
r28 | return (*theWrappedObject)*= div; | ||
|
r13 | } | ||
|
r28 | QTransform PythonQtWrapper_QTransform::inverted(QTransform* theWrappedObject, bool* invertible) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->inverted(invertible); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTransform::isScaling(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isScaling(); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTransform::determinant(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->determinant(); | ||
|
r13 | } | ||
|
r28 | QTransform PythonQtWrapper_QTransform::multiplied(QTransform* theWrappedObject, const QTransform& o) const | ||
|
r13 | { | ||
|
r28 | return (*theWrappedObject)* o; | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTransform::m12(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->m12(); | ||
|
r13 | } | ||
|
r28 | QPolygon PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPolygon& a) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->map(a); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTransform::reset(QTransform* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->reset(); | ||
|
r13 | } | ||
|
r28 | QTransform& PythonQtWrapper_QTransform::operator_multiply_assign(QTransform* theWrappedObject, const QTransform& arg__1) | ||
|
r13 | { | ||
|
r28 | return (*theWrappedObject)*= arg__1; | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTransform::static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result) | ||
|
r13 | { | ||
|
r28 | return QTransform::quadToSquare(quad, result); | ||
|
r13 | } | ||
|
r28 | QTransform PythonQtWrapper_QTransform::transposed(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->transposed(); | ||
|
r13 | } | ||
|
r24 | bool PythonQtWrapper_QTransform::isAffine(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isAffine(); | ||
|
r13 | } | ||
|
r24 | bool PythonQtWrapper_QTransform::operator_equal(QTransform* theWrappedObject, const QTransform& arg__1) const | ||
|
r13 | { | ||
|
r24 | return (*theWrappedObject)== arg__1; | ||
|
r13 | } | ||
|
r24 | QPoint PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPoint& p) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->map(p); | ||
|
r13 | } | ||
|
r24 | QRegion PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QRegion& r) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->map(r); | ||
|
r13 | } | ||
|
r28 | QRectF PythonQtWrapper_QTransform::mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->mapRect(arg__1); | ||
|
r13 | } | ||
|
r28 | QTransform& PythonQtWrapper_QTransform::translate(QTransform* theWrappedObject, qreal dx, qreal dy) | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->translate(dx, dy); | ||
|
r13 | } | ||
|
r28 | QTransform PythonQtWrapper_QTransform::adjoint(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->adjoint(); | ||
|
r13 | } | ||
|
r28 | QLine PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QLine& l) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->map(l); | ||
|
r13 | } | ||
|
r28 | QTransform& PythonQtWrapper_QTransform::operator_subtract_assign(QTransform* theWrappedObject, qreal div) | ||
{ | ||||
return (*theWrappedObject)-= div; | ||||
} | ||||
qreal PythonQtWrapper_QTransform::m33(QTransform* theWrappedObject) const | ||||
|
r13 | { | ||
|
r28 | return theWrappedObject->m33(); | ||
|
r13 | } | ||
|
r24 | QPointF PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPointF& p) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->map(p); | ||
|
r13 | } | ||
|
r24 | void PythonQtWrapper_QTransform::setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setMatrix(m11, m12, m13, m21, m22, m23, m31, m32, m33); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTransform::dx(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->dx(); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTransform::isIdentity(QTransform* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isIdentity(); | ||
|
r13 | } | ||
|
r28 | QPainterPath PythonQtWrapper_QTransform::map(QTransform* theWrappedObject, const QPainterPath& p) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->map(p); | ||
} | ||||
QPolygon PythonQtWrapper_QTransform::mapToPolygon(QTransform* theWrappedObject, const QRect& r) const | ||||
{ | ||||
return theWrappedObject->mapToPolygon(r); | ||||
} | ||||
QRect PythonQtWrapper_QTransform::mapRect(QTransform* theWrappedObject, const QRect& arg__1) const | ||||
{ | ||||
return theWrappedObject->mapRect(arg__1); | ||||
} | ||||
QTransform::TransformationType PythonQtWrapper_QTransform::type(QTransform* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->type(); | ||||
|
r13 | } | ||