PythonQtWrapper_QPainter.cpp
879 lines
| 27.0 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QPainter.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QPainterPath> | ||
#include <QPixmap> | ||||
#include <QVariant> | ||||
#include <QWidget> | ||||
#include <qbrush.h> | ||||
#include <qcolor.h> | ||||
#include <qfont.h> | ||||
#include <qimage.h> | ||||
#include <qline.h> | ||||
#include <qmatrix.h> | ||||
#include <qpaintdevice.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpainter.h> | ||||
#include <qpainterpath.h> | ||||
#include <qpen.h> | ||||
#include <qpicture.h> | ||||
#include <qpixmap.h> | ||||
#include <qpoint.h> | ||||
#include <qpolygon.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qtransform.h> | ||||
#include <qvector.h> | ||||
#include <qwidget.h> | ||||
QPainter* PythonQtWrapper_QPainter::new_QPainter() | ||||
{ | ||||
return new QPainter(); } | ||||
florianlink
|
r73 | Qt::LayoutDirection PythonQtWrapper_QPainter::layoutDirection(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->layoutDirection()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QPainter::RenderHints PythonQtWrapper_QPainter::renderHints(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->renderHints()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPixmap(x, y, pm)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& arg__5, int sx, int sy) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawTiledPixmap(x, y, w, h, arg__5, sx, sy)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setRenderHints(hints, on)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QPainter::isActive(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->isActive()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPixmap(p, pm)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setWorldTransform(matrix, combine)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector<QRect >& rectangles) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawRects(rectangles)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPie(x, y, w, h, a, alen)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawTextItem(p, ti)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawImage(p, image)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawRoundedRect(x, y, w, h, xRadius, yRadius, mode)); | ||
florianlink
|
r28 | } | ||
florianlink
|
r73 | const QTransform* PythonQtWrapper_QPainter::deviceTransform(QPainter* theWrappedObject) const | ||
florianlink
|
r28 | { | ||
florianlink
|
r73 | return &( theWrappedObject->deviceTransform()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, int x, int y) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPoint(x, y)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawChord(x, y, w, h, a, alen)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, Qt::PenStyle style) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setPen(style)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | qreal PythonQtWrapper_QPainter::opacity(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->opacity()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawText(r, text, o)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::shear(QPainter* theWrappedObject, qreal sh, qreal sv) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->shear(sh, sv)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->fillRect(arg__1, arg__2)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector<QPoint >& pointPairs) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawLines(pointPairs)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::save(QPainter* theWrappedObject) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->save()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setTransform(transform, combine)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::rotate(QPainter* theWrappedObject, qreal a) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->rotate(a)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QPaintDevice* PythonQtWrapper_QPainter::static_QPainter_redirected(const QPaintDevice* device, QPoint* offset) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return (QPainter::redirected(device, offset)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawImage(r, image)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygonF& points) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPoints(points)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setClipRect(arg__1, op)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPointF& offset) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->translate(offset)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawChord(rect, a, alen)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::resetTransform(QPainter* theWrappedObject) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->resetTransform()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::restore(QPainter* theWrappedObject) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->restore()); | ||
florianlink
|
r24 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr) | ||
florianlink
|
r24 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPixmap(p, pm, sr)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setBackgroundMode(mode)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setViewTransformEnabled(QPainter* theWrappedObject, bool enable) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setViewTransformEnabled(enable)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | const QBrush* PythonQtWrapper_QPainter::brush(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return &( theWrappedObject->brush()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawEllipse(x, y, w, h)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRectF& arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->eraseRect(arg__1)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRectF& r) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawEllipse(r)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector<QLine >& lines) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawLines(lines)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QPainter::testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->testRenderHint(hint)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setWorldMatrixEnabled(enabled)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawTiledPixmap(rect, pm, offset)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPie(rect, a, alen)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | const QMatrix* PythonQtWrapper_QPainter::deviceMatrix(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return &( theWrappedObject->deviceMatrix()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, int x, int y) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setBrushOrigin(x, y)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawRect(x1, y1, w, h)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QPainter::hasClipping(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->hasClipping()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->boundingRect(x, y, w, h, flags, text)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QPainter::worldMatrixEnabled(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->worldMatrixEnabled()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->boundingRect(rect, flags, text)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QRect PythonQtWrapper_QPainter::window(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->window()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRect& rect) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawRect(rect)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPixmap(p, pm)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->eraseRect(x, y, w, h)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QPainter::end(QPainter* theWrappedObject) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->end()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawArc(rect, a, alen)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::static_QPainter_restoreRedirected(const QPaintDevice* device) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | (QPainter::restoreRedirected(device)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QMatrix PythonQtWrapper_QPainter::combinedMatrix(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->combinedMatrix()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPicture(p, picture)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawText(x, y, w, h, flags, text, br)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawConvexPolygon(polygon)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setClipRect(arg__1, op)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawImage(p, image)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawArc(arg__1, a, alen)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setBrush(QPainter* theWrappedObject, Qt::BrushStyle style) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setBrush(style)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, const QRect& viewport) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setViewport(viewport)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QPainter::CompositionMode PythonQtWrapper_QPainter::compositionMode(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->compositionMode()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QPen& pen) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setPen(pen)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QPainter::begin(QPainter* theWrappedObject, QPaintDevice* arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->begin(arg__1)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawEllipse(center, rx, ry)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawLine(p1, p2)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPixmap(p, pm, sr)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPolygon(polygon, fillRule)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | (QPainter::setRedirected(device, replacement, offset)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawTextItem(x, y, ti)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::scale(QPainter* theWrappedObject, qreal sx, qreal sy) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->scale(sx, sy)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::resetMatrix(QPainter* theWrappedObject) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->resetMatrix()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector<QPointF >& pointPairs) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawLines(pointPairs)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QPaintDevice* PythonQtWrapper_QPainter::device(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->device()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPath(QPainter* theWrappedObject, const QPainterPath& path) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPath(path)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, int x, int y, int w, int h) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setViewport(x, y, w, h)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setWorldMatrix(matrix, combine)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawConvexPolygon(polygon)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPicture(x, y, picture)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setClipRect(x, y, w, h, op)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawEllipse(center, rx, ry)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->fillRect(x, y, w, h, arg__5)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setBrush(QPainter* theWrappedObject, const QBrush& brush) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setBrush(brush)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLineF& line) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawLine(line)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setCompositionMode(mode)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPolyline(polygon)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawText(r, flags, text, br)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | const QBrush* PythonQtWrapper_QPainter::background(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return &( theWrappedObject->background()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm, int sx, int sy, int sw, int sh) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPixmap(x, y, w, h, pm, sx, sy, sw, sh)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPixmap(x, y, pm, sx, sy, sw, sh)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->boundingRect(rect, text, o)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QPainterPath PythonQtWrapper_QPainter::clipPath(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->clipPath()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setClipping(QPainter* theWrappedObject, bool enable) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setClipping(enable)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRect& arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->eraseRect(arg__1)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setBrushOrigin(arg__1)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, const QString& s) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawText(x, y, s)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRect& r) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawEllipse(r)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setBrushOrigin(arg__1)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround, int yround) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawRoundRect(r, xround, yround)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setFont(QPainter* theWrappedObject, const QFont& f) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setFont(f)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, const QRect& window) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setWindow(window)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->strokePath(path, pen)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLine& line) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawLine(line)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPoint& offset) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->translate(offset)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawImage(p, image, sr, flags)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setClipPath(path, op)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | const QFont* PythonQtWrapper_QPainter::font(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return &( theWrappedObject->font()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawImage(r, image)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector<QRectF >& rectangles) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawRects(rectangles)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawTextItem(p, ti)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | const QTransform* PythonQtWrapper_QPainter::transform(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return &( theWrappedObject->transform()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawLine(x1, y1, x2, y2)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector<QLineF >& lines) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawLines(lines)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRect& arg__1, const QPixmap& arg__2, const QPoint& arg__3) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawTiledPixmap(arg__1, arg__2, arg__3)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setBackground(QPainter* theWrappedObject, const QBrush& bg) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setBackground(bg)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | Qt::BGMode PythonQtWrapper_QPainter::backgroundMode(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->backgroundMode()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | const QTransform* PythonQtWrapper_QPainter::worldTransform(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return &( theWrappedObject->worldTransform()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setOpacity(QPainter* theWrappedObject, qreal opacity) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setOpacity(opacity)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QTransform PythonQtWrapper_QPainter::combinedTransform(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->combinedTransform()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawText(p, s)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QRegion PythonQtWrapper_QPainter::clipRegion(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->clipRegion()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5, int arg__6) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawRoundRect(x, y, w, h, arg__5, arg__6)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | const QPen* PythonQtWrapper_QPainter::pen(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return &( theWrappedObject->pen()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround, int yround) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawRoundRect(r, xround, yround)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setRenderHint(hint, on)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->boundingRect(rect, flags, text)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPointF& pt) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPoint(pt)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawChord(arg__1, a, alen)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPixmap(r, pm)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, Qt::ImageConversionFlags flags) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPixmap(x, y, w, h, pm)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QRect PythonQtWrapper_QPainter::viewport(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->viewport()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPolyline(polyline)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setClipRegion(arg__1, op)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, int x, int y, int w, int h) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setWindow(x, y, w, h)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QPainter::viewTransformEnabled(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->viewTransformEnabled()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawText(p, s)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::initFrom(QPainter* theWrappedObject, const QWidget* widget) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->initFrom(widget)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QPaintEngine* PythonQtWrapper_QPainter::paintEngine(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->paintEngine()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPoint& p) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPoint(p)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawText(r, flags, text, br)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPie(arg__1, a, alen)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->fillRect(arg__1, arg__2)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->fillPath(path, brush)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, qreal dx, qreal dy) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->translate(dx, dy)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPolygon(polygon, fillRule)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawImage(p, image, sr, flags)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, int x, int y, const QImage& image, int sx, int sy, int sw, int sh, Qt::ImageConversionFlags flags) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawImage(x, y, image, sx, sy, sw, sh, flags)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawLine(p1, p2)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygon& points) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPoints(points)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRectF& rect) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawRect(rect)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QColor& color) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setPen(color)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setLayoutDirection(direction)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->drawPicture(p, picture)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QPoint PythonQtWrapper_QPainter::brushOrigin(QPainter* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->brushOrigin()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) | ||
{ | ||||
( theWrappedObject->drawArc(x, y, w, h, a, alen)); | ||||
} | ||||
const QMatrix* PythonQtWrapper_QPainter::worldMatrix(QPainter* theWrappedObject) const | ||||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return &( theWrappedObject->worldMatrix()); | ||
florianlink
|
r13 | } | ||