#include "PythonQtWrapper_QPolygon.h" #include #include #include #include #include #include #include #include #include #include QPolygon* PythonQtWrapper_QPolygon::new_QPolygon() { return new QPolygon(); } QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(const QPolygon& a) { return new QPolygon(a); } QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(const QRect& r, bool closed) { return new QPolygon(r, closed); } QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(const QVector& v) { return new QPolygon(v); } QPolygon* PythonQtWrapper_QPolygon::new_QPolygon(int size) { return new QPolygon(size); } void PythonQtWrapper_QPolygon::resize(QPolygon* theWrappedObject, int size) { theWrappedObject->resize(size); } void PythonQtWrapper_QPolygon::pop_front(QPolygon* theWrappedObject) { theWrappedObject->pop_front(); } void PythonQtWrapper_QPolygon::reserve(QPolygon* theWrappedObject, int size) { theWrappedObject->reserve(size); } QPolygon PythonQtWrapper_QPolygon::subtracted(QPolygon* theWrappedObject, const QPolygon& r) const { return theWrappedObject->subtracted(r); } QRect PythonQtWrapper_QPolygon::boundingRect(QPolygon* theWrappedObject) const { return theWrappedObject->boundingRect(); } QVector PythonQtWrapper_QPolygon::mid(QPolygon* theWrappedObject, int pos, int length) const { return theWrappedObject->mid(pos, length); } void PythonQtWrapper_QPolygon::setSharable(QPolygon* theWrappedObject, bool sharable) { theWrappedObject->setSharable(sharable); } void PythonQtWrapper_QPolygon::remove(QPolygon* theWrappedObject, int i, int n) { theWrappedObject->remove(i, n); } void PythonQtWrapper_QPolygon::writeTo(QPolygon* theWrappedObject, QDataStream& stream) { stream << (*theWrappedObject); } void PythonQtWrapper_QPolygon::remove(QPolygon* theWrappedObject, int i) { theWrappedObject->remove(i); } void PythonQtWrapper_QPolygon::replace(QPolygon* theWrappedObject, int i, const QPoint& t) { theWrappedObject->replace(i, t); } void PythonQtWrapper_QPolygon::readFrom(QPolygon* theWrappedObject, QDataStream& stream) { stream >> (*theWrappedObject); } void PythonQtWrapper_QPolygon::push_back(QPolygon* theWrappedObject, const QPoint& t) { theWrappedObject->push_back(t); } int PythonQtWrapper_QPolygon::indexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const { return theWrappedObject->indexOf(t, from); } void PythonQtWrapper_QPolygon::pop_back(QPolygon* theWrappedObject) { theWrappedObject->pop_back(); } void PythonQtWrapper_QPolygon::clear(QPolygon* theWrappedObject) { theWrappedObject->clear(); } bool PythonQtWrapper_QPolygon::operator_equal(QPolygon* theWrappedObject, const QVector& v) const { return (*theWrappedObject)== v; } QPoint PythonQtWrapper_QPolygon::value(QPolygon* theWrappedObject, int i, const QPoint& defaultValue) const { return theWrappedObject->value(i, defaultValue); } bool PythonQtWrapper_QPolygon::empty(QPolygon* theWrappedObject) const { return theWrappedObject->empty(); } const QPoint& PythonQtWrapper_QPolygon::first(QPolygon* theWrappedObject) const { return theWrappedObject->first(); } void PythonQtWrapper_QPolygon::squeeze(QPolygon* theWrappedObject) { theWrappedObject->squeeze(); } QVector& PythonQtWrapper_QPolygon::fill(QPolygon* theWrappedObject, const QPoint& t, int size) { return theWrappedObject->fill(t, size); } void PythonQtWrapper_QPolygon::prepend(QPolygon* theWrappedObject, const QPoint& t) { theWrappedObject->prepend(t); } void PythonQtWrapper_QPolygon::translate(QPolygon* theWrappedObject, int dx, int dy) { theWrappedObject->translate(dx, dy); } QList PythonQtWrapper_QPolygon::toList(QPolygon* theWrappedObject) const { return theWrappedObject->toList(); } QPoint PythonQtWrapper_QPolygon::value(QPolygon* theWrappedObject, int i) const { return theWrappedObject->value(i); } int PythonQtWrapper_QPolygon::count(QPolygon* theWrappedObject, const QPoint& t) const { return theWrappedObject->count(t); } void PythonQtWrapper_QPolygon::translate(QPolygon* theWrappedObject, const QPoint& offset) { theWrappedObject->translate(offset); } QPolygon PythonQtWrapper_QPolygon::united(QPolygon* theWrappedObject, const QPolygon& r) const { return theWrappedObject->united(r); } int PythonQtWrapper_QPolygon::count(QPolygon* theWrappedObject) const { return theWrappedObject->count(); } int PythonQtWrapper_QPolygon::capacity(QPolygon* theWrappedObject) const { return theWrappedObject->capacity(); } void PythonQtWrapper_QPolygon::append(QPolygon* theWrappedObject, const QPoint& t) { theWrappedObject->append(t); } QVector PythonQtWrapper_QPolygon::static_QPolygon_fromList(const QList& list) { return QPolygon::fromList(list); } bool PythonQtWrapper_QPolygon::isEmpty(QPolygon* theWrappedObject) const { return theWrappedObject->isEmpty(); } void PythonQtWrapper_QPolygon::push_front(QPolygon* theWrappedObject, const QPoint& t) { theWrappedObject->push_front(t); } const QPoint& PythonQtWrapper_QPolygon::at(QPolygon* theWrappedObject, int i) const { return theWrappedObject->at(i); } bool PythonQtWrapper_QPolygon::contains(QPolygon* theWrappedObject, const QPoint& t) const { return theWrappedObject->contains(t); } int PythonQtWrapper_QPolygon::lastIndexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const { return theWrappedObject->lastIndexOf(t, from); } int PythonQtWrapper_QPolygon::size(QPolygon* theWrappedObject) const { return theWrappedObject->size(); } const QPoint& PythonQtWrapper_QPolygon::last(QPolygon* theWrappedObject) const { return theWrappedObject->last(); } QPolygon PythonQtWrapper_QPolygon::intersected(QPolygon* theWrappedObject, const QPolygon& r) const { return theWrappedObject->intersected(r); } bool PythonQtWrapper_QPolygon::containsPoint(QPolygon* theWrappedObject, const QPoint& pt, Qt::FillRule fillRule) const { return theWrappedObject->containsPoint(pt, fillRule); }