Notation used in Ruby API documentation
Module: QtGui
Description: Binding of QPainter
Sub-classes: CompositionMode, QFlags_CompositionMode, PixmapFragmentHint, QFlags_PixmapFragmentHint, RenderHint, QFlags_RenderHint, PixmapFragment
new QPainter | new | Constructor QPainter::QPainter() | |
new QPainter | new | (QPaintDevice ptr arg1) | Constructor QPainter::QPainter(QPaintDevice *) |
[const] | QPainter ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
[const] | QBrush | background | Method const QBrush &QPainter::background() | |
void | background= | (const QBrush bg) | Method void QPainter::setBackground(const QBrush &bg) | |
[const] | Qt_BGMode | backgroundMode | Method Qt::BGMode QPainter::backgroundMode() | |
void | backgroundMode= | (const Qt_BGMode mode) | Method void QPainter::setBackgroundMode(Qt::BGMode mode) | |
bool | begin | (QPaintDevice ptr arg1) | Method bool QPainter::begin(QPaintDevice *) | |
void | beginNativePainting | Method void QPainter::beginNativePainting() | ||
QRectF | boundingRect | (const QRectF rect, int flags, string text) | Method QRectF QPainter::boundingRect(const QRectF &rect, int flags, const QString &text) | |
QRect | boundingRect | (const QRect rect, int flags, string text) | Method QRect QPainter::boundingRect(const QRect &rect, int flags, const QString &text) | |
QRect | boundingRect | (int x, int y, int w, int h, int flags, string text) | Method QRect QPainter::boundingRect(int x, int y, int w, int h, int flags, const QString &text) | |
QRectF | boundingRect | (const QRectF rect, string text, const QTextOption o = QTextOption()) | Method QRectF QPainter::boundingRect(const QRectF &rect, const QString &text, const QTextOption &o) | |
[const] | QBrush | brush | Method const QBrush &QPainter::brush() | |
void | brush= | (const QBrush brush) | Method void QPainter::setBrush(const QBrush &brush) | |
void | brush= | (const Qt_BrushStyle style) | Method void QPainter::setBrush(Qt::BrushStyle style) | |
[const] | QPoint | brushOrigin | Method QPoint QPainter::brushOrigin() | |
void | brushOrigin= | (const QPoint arg1) | Method void QPainter::setBrushOrigin(const QPoint &) | |
void | brushOrigin= | (const QPointF arg1) | Method void QPainter::setBrushOrigin(const QPointF &) | |
[const] | QRectF | clipBoundingRect | Method QRectF QPainter::clipBoundingRect() | |
[const] | QPainterPath | clipPath | Method QPainterPath QPainter::clipPath() | |
[const] | QRegion | clipRegion | Method QRegion QPainter::clipRegion() | |
[const] | bool | clipping | Method bool QPainter::hasClipping() | |
void | clipping= | (bool enable) | Method void QPainter::setClipping(bool enable) | |
[const] | QMatrix | combinedMatrix | Method QMatrix QPainter::combinedMatrix() | |
[const] | QTransform | combinedTransform | Method QTransform QPainter::combinedTransform() | |
[const] | QPainter_CompositionMode | compositionMode | Method QPainter::CompositionMode QPainter::compositionMode() | |
void | compositionMode= | (const QPainter_CompositionMode mode) | Method void QPainter::setCompositionMode(QPainter::CompositionMode mode) | |
[const] | QPaintDevice ptr | device | Method QPaintDevice *QPainter::device() | |
[const] | QMatrix | deviceMatrix | Method const QMatrix &QPainter::deviceMatrix() | |
[const] | QTransform | deviceTransform | Method const QTransform &QPainter::deviceTransform() | |
void | drawArc | (const QRectF rect, int a, int alen) | Method void QPainter::drawArc(const QRectF &rect, int a, int alen) | |
void | drawArc | (const QRect arg1, int a, int alen) | Method void QPainter::drawArc(const QRect &, int a, int alen) | |
void | drawArc | (int x, int y, int w, int h, int a, int alen) | Method void QPainter::drawArc(int x, int y, int w, int h, int a, int alen) | |
void | drawChord | (const QRectF rect, int a, int alen) | Method void QPainter::drawChord(const QRectF &rect, int a, int alen) | |
void | drawChord | (int x, int y, int w, int h, int a, int alen) | Method void QPainter::drawChord(int x, int y, int w, int h, int a, int alen) | |
void | drawChord | (const QRect arg1, int a, int alen) | Method void QPainter::drawChord(const QRect &, int a, int alen) | |
void | drawConvexPolygon | (const QPolygonF polygon) | Method void QPainter::drawConvexPolygon(const QPolygonF &polygon) | |
void | drawConvexPolygon | (const QPolygon polygon) | Method void QPainter::drawConvexPolygon(const QPolygon &polygon) | |
void | drawEllipse | (const QRectF r) | Method void QPainter::drawEllipse(const QRectF &r) | |
void | drawEllipse | (const QRect r) | Method void QPainter::drawEllipse(const QRect &r) | |
void | drawEllipse | (int x, int y, int w, int h) | Method void QPainter::drawEllipse(int x, int y, int w, int h) | |
void | drawEllipse | (const QPointF center, double rx, double ry) | Method void QPainter::drawEllipse(const QPointF ¢er, double rx, double ry) | |
void | drawEllipse | (const QPoint center, int rx, int ry) | Method void QPainter::drawEllipse(const QPoint ¢er, int rx, int ry) | |
void | drawGlyphRun | (const QPointF position, const QGlyphRun glyphRun) | Method void QPainter::drawGlyphRun(const QPointF &position, const QGlyphRun &glyphRun) | |
void | drawImage | (const QRectF targetRect, const QImage image, const QRectF sourceRect, Qt_QFlags_ImageConversionFlag flags = Qt::AutoColor) | Method void QPainter::drawImage(const QRectF &targetRect, const QImage &image, const QRectF &sourceRect, QFlags<Qt::ImageConversionFlag> flags) | |
void | drawImage | (const QRect targetRect, const QImage image, const QRect sourceRect, Qt_QFlags_ImageConversionFlag flags = Qt::AutoColor) | Method void QPainter::drawImage(const QRect &targetRect, const QImage &image, const QRect &sourceRect, QFlags<Qt::ImageConversionFlag> flags) | |
void | drawImage | (const QPointF p, const QImage image, const QRectF sr, Qt_QFlags_ImageConversionFlag flags = Qt::AutoColor) | Method void QPainter::drawImage(const QPointF &p, const QImage &image, const QRectF &sr, QFlags<Qt::ImageConversionFlag> flags) | |
void | drawImage | (const QPoint p, const QImage image, const QRect sr, Qt_QFlags_ImageConversionFlag flags = Qt::AutoColor) | Method void QPainter::drawImage(const QPoint &p, const QImage &image, const QRect &sr, QFlags<Qt::ImageConversionFlag> flags) | |
void | drawImage | (const QRectF r, const QImage image) | Method void QPainter::drawImage(const QRectF &r, const QImage &image) | |
void | drawImage | (const QRect r, const QImage image) | Method void QPainter::drawImage(const QRect &r, const QImage &image) | |
void | drawImage | (const QPointF p, const QImage image) | Method void QPainter::drawImage(const QPointF &p, const QImage &image) | |
void | drawImage | (const QPoint p, const QImage image) | Method void QPainter::drawImage(const QPoint &p, const QImage &image) | |
void | drawImage | (int x, int y, const QImage image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt_QFlags_ImageConversionFlag flags = Qt::AutoColor) | Method void QPainter::drawImage(int x, int y, const QImage &image, int sx, int sy, int sw, int sh, QFlags<Qt::ImageConversionFlag> flags) | |
void | drawLine | (const QLineF line) | Method void QPainter::drawLine(const QLineF &line) | |
void | drawLine | (const QLine line) | Method void QPainter::drawLine(const QLine &line) | |
void | drawLine | (int x1, int y1, int x2, int y2) | Method void QPainter::drawLine(int x1, int y1, int x2, int y2) | |
void | drawLine | (const QPoint p1, const QPoint p2) | Method void QPainter::drawLine(const QPoint &p1, const QPoint &p2) | |
void | drawLine | (const QPointF p1, const QPointF p2) | Method void QPainter::drawLine(const QPointF &p1, const QPointF &p2) | |
void | drawLines_f | (QLineF[] lines) | Method void QPainter::drawLines(const QVector<QLineF> &lines) | |
void | drawLines_fp | (QPointF[] pointPairs) | Method void QPainter::drawLines(const QVector<QPointF> &pointPairs) | |
void | drawLines_i | (QLine[] lines) | Method void QPainter::drawLines(const QVector<QLine> &lines) | |
void | drawLines_ip | (QPoint[] pointPairs) | Method void QPainter::drawLines(const QVector<QPoint> &pointPairs) | |
void | drawPath | (const QPainterPath path) | Method void QPainter::drawPath(const QPainterPath &path) | |
void | drawPicture | (const QPointF p, const QPicture picture) | Method void QPainter::drawPicture(const QPointF &p, const QPicture &picture) | |
void | drawPicture | (int x, int y, const QPicture picture) | Method void QPainter::drawPicture(int x, int y, const QPicture &picture) | |
void | drawPicture | (const QPoint p, const QPicture picture) | Method void QPainter::drawPicture(const QPoint &p, const QPicture &picture) | |
void | drawPie | (const QRectF rect, int a, int alen) | Method void QPainter::drawPie(const QRectF &rect, int a, int alen) | |
void | drawPie | (int x, int y, int w, int h, int a, int alen) | Method void QPainter::drawPie(int x, int y, int w, int h, int a, int alen) | |
void | drawPie | (const QRect arg1, int a, int alen) | Method void QPainter::drawPie(const QRect &, int a, int alen) | |
void | drawPixmap | (const QRectF targetRect, const QPixmap pixmap, const QRectF sourceRect) | Method void QPainter::drawPixmap(const QRectF &targetRect, const QPixmap &pixmap, const QRectF &sourceRect) | |
void | drawPixmap | (const QRect targetRect, const QPixmap pixmap, const QRect sourceRect) | Method void QPainter::drawPixmap(const QRect &targetRect, const QPixmap &pixmap, const QRect &sourceRect) | |
void | drawPixmap | (int x, int y, int w, int h, const QPixmap pm, int sx, int sy, int sw, int sh) | Method void QPainter::drawPixmap(int x, int y, int w, int h, const QPixmap &pm, int sx, int sy, int sw, int sh) | |
void | drawPixmap | (int x, int y, const QPixmap pm, int sx, int sy, int sw, int sh) | Method void QPainter::drawPixmap(int x, int y, const QPixmap &pm, int sx, int sy, int sw, int sh) | |
void | drawPixmap | (const QPointF p, const QPixmap pm, const QRectF sr) | Method void QPainter::drawPixmap(const QPointF &p, const QPixmap &pm, const QRectF &sr) | |
void | drawPixmap | (const QPoint p, const QPixmap pm, const QRect sr) | Method void QPainter::drawPixmap(const QPoint &p, const QPixmap &pm, const QRect &sr) | |
void | drawPixmap | (const QPointF p, const QPixmap pm) | Method void QPainter::drawPixmap(const QPointF &p, const QPixmap &pm) | |
void | drawPixmap | (const QPoint p, const QPixmap pm) | Method void QPainter::drawPixmap(const QPoint &p, const QPixmap &pm) | |
void | drawPixmap | (int x, int y, const QPixmap pm) | Method void QPainter::drawPixmap(int x, int y, const QPixmap &pm) | |
void | drawPixmap | (const QRect r, const QPixmap pm) | Method void QPainter::drawPixmap(const QRect &r, const QPixmap &pm) | |
void | drawPixmap | (int x, int y, int w, int h, const QPixmap pm) | Method void QPainter::drawPixmap(int x, int y, int w, int h, const QPixmap &pm) | |
void | drawPixmapFragments | (const QPainter_PixmapFragment ptr fragments, int fragmentCount, const QPixmap pixmap, QPainter_QFlags_PixmapFragmentHint hints = QPainter::PixmapFragmentHints()) | Method void QPainter::drawPixmapFragments(const QPainter::PixmapFragment *fragments, int fragmentCount, const QPixmap &pixmap, QFlags<QPainter::PixmapFragmentHint> hints) | |
void | drawPoint | (const QPointF pt) | Method void QPainter::drawPoint(const QPointF &pt) | |
void | drawPoint | (const QPoint p) | Method void QPainter::drawPoint(const QPoint &p) | |
void | drawPoint | (int x, int y) | Method void QPainter::drawPoint(int x, int y) | |
void | drawPoints | (const QPolygonF points) | Method void QPainter::drawPoints(const QPolygonF &points) | |
void | drawPoints | (const QPolygon points) | Method void QPainter::drawPoints(const QPolygon &points) | |
void | drawPolygon | (const QPolygonF polygon, const Qt_FillRule fillRule = Qt::OddEvenFill) | Method void QPainter::drawPolygon(const QPolygonF &polygon, Qt::FillRule fillRule) | |
void | drawPolygon | (const QPolygon polygon, const Qt_FillRule fillRule = Qt::OddEvenFill) | Method void QPainter::drawPolygon(const QPolygon &polygon, Qt::FillRule fillRule) | |
void | drawPolyline | (const QPolygonF polyline) | Method void QPainter::drawPolyline(const QPolygonF &polyline) | |
void | drawPolyline | (const QPolygon polygon) | Method void QPainter::drawPolyline(const QPolygon &polygon) | |
void | drawRect | (const QRectF rect) | Method void QPainter::drawRect(const QRectF &rect) | |
void | drawRect | (int x1, int y1, int w, int h) | Method void QPainter::drawRect(int x1, int y1, int w, int h) | |
void | drawRect | (const QRect rect) | Method void QPainter::drawRect(const QRect &rect) | |
void | drawRects_f | (QRectF[] rectangles) | Method void QPainter::drawRects(const QVector<QRectF> &rectangles) | |
void | drawRects_i | (QRect[] rectangles) | Method void QPainter::drawRects(const QVector<QRect> &rectangles) | |
void | drawRoundRect | (const QRectF r, int xround = 25, int yround = 25) | Method void QPainter::drawRoundRect(const QRectF &r, int xround, int yround) | |
void | drawRoundRect | (int x, int y, int w, int h, int arg5 = 25, int arg6 = 25) | Method void QPainter::drawRoundRect(int x, int y, int w, int h, int, int) | |
void | drawRoundRect | (const QRect r, int xround = 25, int yround = 25) | Method void QPainter::drawRoundRect(const QRect &r, int xround, int yround) | |
void | drawRoundedRect | (const QRectF rect, double xRadius, double yRadius, const Qt_SizeMode mode = Qt::AbsoluteSize) | Method void QPainter::drawRoundedRect(const QRectF &rect, double xRadius, double yRadius, Qt::SizeMode mode) | |
void | drawRoundedRect | (int x, int y, int w, int h, double xRadius, double yRadius, const Qt_SizeMode mode = Qt::AbsoluteSize) | Method void QPainter::drawRoundedRect(int x, int y, int w, int h, double xRadius, double yRadius, Qt::SizeMode mode) | |
void | drawRoundedRect | (const QRect rect, double xRadius, double yRadius, const Qt_SizeMode mode = Qt::AbsoluteSize) | Method void QPainter::drawRoundedRect(const QRect &rect, double xRadius, double yRadius, Qt::SizeMode mode) | |
void | drawStaticText | (const QPointF topLeftPosition, const QStaticText staticText) | Method void QPainter::drawStaticText(const QPointF &topLeftPosition, const QStaticText &staticText) | |
void | drawStaticText | (const QPoint topLeftPosition, const QStaticText staticText) | Method void QPainter::drawStaticText(const QPoint &topLeftPosition, const QStaticText &staticText) | |
void | drawStaticText | (int left, int top, const QStaticText staticText) | Method void QPainter::drawStaticText(int left, int top, const QStaticText &staticText) | |
void | drawText | (const QPointF p, string s) | Method void QPainter::drawText(const QPointF &p, const QString &s) | |
void | drawText | (const QPoint p, string s) | Method void QPainter::drawText(const QPoint &p, const QString &s) | |
void | drawText | (int x, int y, string s) | Method void QPainter::drawText(int x, int y, const QString &s) | |
void | drawText | (const QPointF p, string str, int tf, int justificationPadding) | Method void QPainter::drawText(const QPointF &p, const QString &str, int tf, int justificationPadding) | |
void | drawText | (const QRectF r, int flags, string text, QRectF ptr br = nullptr) | Method void QPainter::drawText(const QRectF &r, int flags, const QString &text, QRectF *br) | |
void | drawText | (const QRect r, int flags, string text, QRect ptr br = nullptr) | Method void QPainter::drawText(const QRect &r, int flags, const QString &text, QRect *br) | |
void | drawText | (int x, int y, int w, int h, int flags, string text, QRect ptr br = nullptr) | Method void QPainter::drawText(int x, int y, int w, int h, int flags, const QString &text, QRect *br) | |
void | drawText | (const QRectF r, string text, const QTextOption o = QTextOption()) | Method void QPainter::drawText(const QRectF &r, const QString &text, const QTextOption &o) | |
void | drawTextItem | (const QPointF p, const QTextItem ti) | Method void QPainter::drawTextItem(const QPointF &p, const QTextItem &ti) | |
void | drawTextItem | (int x, int y, const QTextItem ti) | Method void QPainter::drawTextItem(int x, int y, const QTextItem &ti) | |
void | drawTextItem | (const QPoint p, const QTextItem ti) | Method void QPainter::drawTextItem(const QPoint &p, const QTextItem &ti) | |
void | drawTiledPixmap | (const QRectF rect, const QPixmap pm, const QPointF offset = QPointF()) | Method void QPainter::drawTiledPixmap(const QRectF &rect, const QPixmap &pm, const QPointF &offset) | |
void | drawTiledPixmap | (int x, int y, int w, int h, const QPixmap arg5, int sx = 0, int sy = 0) | Method void QPainter::drawTiledPixmap(int x, int y, int w, int h, const QPixmap &, int sx, int sy) | |
void | drawTiledPixmap | (const QRect arg1, const QPixmap arg2, const QPoint arg3 = QPoint()) | Method void QPainter::drawTiledPixmap(const QRect &, const QPixmap &, const QPoint &) | |
bool | end | Method bool QPainter::end() | ||
void | endNativePainting | Method void QPainter::endNativePainting() | ||
void | eraseRect | (const QRectF arg1) | Method void QPainter::eraseRect(const QRectF &) | |
void | eraseRect | (int x, int y, int w, int h) | Method void QPainter::eraseRect(int x, int y, int w, int h) | |
void | eraseRect | (const QRect arg1) | Method void QPainter::eraseRect(const QRect &) | |
void | fillPath | (const QPainterPath path, const QBrush brush) | Method void QPainter::fillPath(const QPainterPath &path, const QBrush &brush) | |
void | fillRect | (const QRectF arg1, const QBrush arg2) | Method void QPainter::fillRect(const QRectF &, const QBrush &) | |
void | fillRect | (int x, int y, int w, int h, const QBrush arg5) | Method void QPainter::fillRect(int x, int y, int w, int h, const QBrush &) | |
void | fillRect | (const QRect arg1, const QBrush arg2) | Method void QPainter::fillRect(const QRect &, const QBrush &) | |
void | fillRect | (const QRectF arg1, const QColor color) | Method void QPainter::fillRect(const QRectF &, const QColor &color) | |
void | fillRect | (int x, int y, int w, int h, const QColor color) | Method void QPainter::fillRect(int x, int y, int w, int h, const QColor &color) | |
void | fillRect | (const QRect arg1, const QColor color) | Method void QPainter::fillRect(const QRect &, const QColor &color) | |
void | fillRect | (int x, int y, int w, int h, const Qt_GlobalColor c) | Method void QPainter::fillRect(int x, int y, int w, int h, Qt::GlobalColor c) | |
void | fillRect | (const QRect r, const Qt_GlobalColor c) | Method void QPainter::fillRect(const QRect &r, Qt::GlobalColor c) | |
void | fillRect | (const QRectF r, const Qt_GlobalColor c) | Method void QPainter::fillRect(const QRectF &r, Qt::GlobalColor c) | |
void | fillRect | (int x, int y, int w, int h, const Qt_BrushStyle style) | Method void QPainter::fillRect(int x, int y, int w, int h, Qt::BrushStyle style) | |
void | fillRect | (const QRect r, const Qt_BrushStyle style) | Method void QPainter::fillRect(const QRect &r, Qt::BrushStyle style) | |
void | fillRect | (const QRectF r, const Qt_BrushStyle style) | Method void QPainter::fillRect(const QRectF &r, Qt::BrushStyle style) | |
void | fillRect | (int x, int y, int w, int h, const QGradient_Preset preset) | Method void QPainter::fillRect(int x, int y, int w, int h, QGradient::Preset preset) | |
void | fillRect | (const QRect r, const QGradient_Preset preset) | Method void QPainter::fillRect(const QRect &r, QGradient::Preset preset) | |
void | fillRect | (const QRectF r, const QGradient_Preset preset) | Method void QPainter::fillRect(const QRectF &r, QGradient::Preset preset) | |
[const] | QFont | font | Method const QFont &QPainter::font() | |
void | font= | (const QFont f) | Method void QPainter::setFont(const QFont &f) | |
[const] | QFontInfo | fontInfo | Method QFontInfo QPainter::fontInfo() | |
[const] | QFontMetrics | fontMetrics | Method QFontMetrics QPainter::fontMetrics() | |
[const] | bool | hasClipping | Method bool QPainter::hasClipping() | |
void | initFrom | (const QPaintDevice ptr device) | Method void QPainter::initFrom(const QPaintDevice *device) | |
[const] | bool | isActive? | Method bool QPainter::isActive() | |
[const] | Qt_LayoutDirection | layoutDirection | Method Qt::LayoutDirection QPainter::layoutDirection() | |
void | layoutDirection= | (const Qt_LayoutDirection direction) | Method void QPainter::setLayoutDirection(Qt::LayoutDirection direction) | |
[const] | QMatrix | matrix | Method const QMatrix &QPainter::matrix() | |
[const] | bool | matrixEnabled | Method bool QPainter::matrixEnabled() | |
void | matrixEnabled= | (bool enabled) | Method void QPainter::setMatrixEnabled(bool enabled) | |
[const] | double | opacity | Method double QPainter::opacity() | |
void | opacity= | (double opacity) | Method void QPainter::setOpacity(double opacity) | |
[const] | QPaintEngine ptr | paintEngine | Method QPaintEngine *QPainter::paintEngine() | |
[const] | QPen | pen | Method const QPen &QPainter::pen() | |
[const] | QPainter_QFlags_RenderHint | renderHints | Method QFlags<QPainter::RenderHint> QPainter::renderHints() | |
void | resetMatrix | Method void QPainter::resetMatrix() | ||
void | resetTransform | Method void QPainter::resetTransform() | ||
void | restore | Method void QPainter::restore() | ||
void | rotate | (double a) | Method void QPainter::rotate(double a) | |
void | save | Method void QPainter::save() | ||
void | scale | (double sx, double sy) | Method void QPainter::scale(double sx, double sy) | |
void | setBackground | (const QBrush bg) | Method void QPainter::setBackground(const QBrush &bg) | |
void | setBackgroundMode | (const Qt_BGMode mode) | Method void QPainter::setBackgroundMode(Qt::BGMode mode) | |
void | setBrush | (const QBrush brush) | Method void QPainter::setBrush(const QBrush &brush) | |
void | setBrush | (const Qt_BrushStyle style) | Method void QPainter::setBrush(Qt::BrushStyle style) | |
void | setBrushOrigin | (int x, int y) | Method void QPainter::setBrushOrigin(int x, int y) | |
void | setBrushOrigin | (const QPoint arg1) | Method void QPainter::setBrushOrigin(const QPoint &) | |
void | setBrushOrigin | (const QPointF arg1) | Method void QPainter::setBrushOrigin(const QPointF &) | |
void | setClipPath | (const QPainterPath path, const Qt_ClipOperation op = Qt::ReplaceClip) | Method void QPainter::setClipPath(const QPainterPath &path, Qt::ClipOperation op) | |
void | setClipRect | (const QRectF arg1, const Qt_ClipOperation op = Qt::ReplaceClip) | Method void QPainter::setClipRect(const QRectF &, Qt::ClipOperation op) | |
void | setClipRect | (const QRect arg1, const Qt_ClipOperation op = Qt::ReplaceClip) | Method void QPainter::setClipRect(const QRect &, Qt::ClipOperation op) | |
void | setClipRect | (int x, int y, int w, int h, const Qt_ClipOperation op = Qt::ReplaceClip) | Method void QPainter::setClipRect(int x, int y, int w, int h, Qt::ClipOperation op) | |
void | setClipRegion | (const QRegion arg1, const Qt_ClipOperation op = Qt::ReplaceClip) | Method void QPainter::setClipRegion(const QRegion &, Qt::ClipOperation op) | |
void | setClipping | (bool enable) | Method void QPainter::setClipping(bool enable) | |
void | setCompositionMode | (const QPainter_CompositionMode mode) | Method void QPainter::setCompositionMode(QPainter::CompositionMode mode) | |
void | setFont | (const QFont f) | Method void QPainter::setFont(const QFont &f) | |
void | setLayoutDirection | (const Qt_LayoutDirection direction) | Method void QPainter::setLayoutDirection(Qt::LayoutDirection direction) | |
void | setMatrix | (const QMatrix matrix, bool combine = false) | Method void QPainter::setMatrix(const QMatrix &matrix, bool combine) | |
void | setMatrixEnabled | (bool enabled) | Method void QPainter::setMatrixEnabled(bool enabled) | |
void | setOpacity | (double opacity) | Method void QPainter::setOpacity(double opacity) | |
void | setPen | (const QColor color) | Method void QPainter::setPen(const QColor &color) | |
void | setPen | (const QPen pen) | Method void QPainter::setPen(const QPen &pen) | |
void | setPen | (const Qt_PenStyle style) | Method void QPainter::setPen(Qt::PenStyle style) | |
void | setRenderHint | (const QPainter_RenderHint hint, bool on = true) | Method void QPainter::setRenderHint(QPainter::RenderHint hint, bool on) | |
void | setRenderHints | (QPainter_QFlags_RenderHint hints, bool on = true) | Method void QPainter::setRenderHints(QFlags<QPainter::RenderHint> hints, bool on) | |
void | setTransform | (const QTransform transform, bool combine = false) | Method void QPainter::setTransform(const QTransform &transform, bool combine) | |
void | setViewTransformEnabled | (bool enable) | Method void QPainter::setViewTransformEnabled(bool enable) | |
void | setViewport | (const QRect viewport) | Method void QPainter::setViewport(const QRect &viewport) | |
void | setViewport | (int x, int y, int w, int h) | Method void QPainter::setViewport(int x, int y, int w, int h) | |
void | setWindow | (const QRect window) | Method void QPainter::setWindow(const QRect &window) | |
void | setWindow | (int x, int y, int w, int h) | Method void QPainter::setWindow(int x, int y, int w, int h) | |
void | setWorldMatrix | (const QMatrix matrix, bool combine = false) | Method void QPainter::setWorldMatrix(const QMatrix &matrix, bool combine) | |
void | setWorldMatrixEnabled | (bool enabled) | Method void QPainter::setWorldMatrixEnabled(bool enabled) | |
void | setWorldTransform | (const QTransform matrix, bool combine = false) | Method void QPainter::setWorldTransform(const QTransform &matrix, bool combine) | |
void | shear | (double sh, double sv) | Method void QPainter::shear(double sh, double sv) | |
void | strokePath | (const QPainterPath path, const QPen pen) | Method void QPainter::strokePath(const QPainterPath &path, const QPen &pen) | |
[const] | bool | testRenderHint | (const QPainter_RenderHint hint) | Method bool QPainter::testRenderHint(QPainter::RenderHint hint) |
[const] | QTransform | transform | Method const QTransform &QPainter::transform() | |
void | translate | (const QPointF offset) | Method void QPainter::translate(const QPointF &offset) | |
void | translate | (const QPoint offset) | Method void QPainter::translate(const QPoint &offset) | |
void | translate | (double dx, double dy) | Method void QPainter::translate(double dx, double dy) | |
[const] | bool | viewTransformEnabled | Method bool QPainter::viewTransformEnabled() | |
void | viewTransformEnabled= | (bool enable) | Method void QPainter::setViewTransformEnabled(bool enable) | |
[const] | QRect | viewport | Method QRect QPainter::viewport() | |
void | viewport= | (const QRect viewport) | Method void QPainter::setViewport(const QRect &viewport) | |
[const] | QRect | window | Method QRect QPainter::window() | |
void | window= | (const QRect window) | Method void QPainter::setWindow(const QRect &window) | |
[const] | QMatrix | worldMatrix | Method const QMatrix &QPainter::worldMatrix() | |
[const] | bool | worldMatrixEnabled | Method bool QPainter::worldMatrixEnabled() | |
void | worldMatrixEnabled= | (bool enabled) | Method void QPainter::setWorldMatrixEnabled(bool enabled) | |
[const] | QTransform | worldTransform | Method const QTransform &QPainter::worldTransform() |
[static,const] | QPainter_RenderHint | Antialiasing | Enum constant QPainter::Antialiasing | |
[static,const] | QPainter_CompositionMode | CompositionMode_Clear | Enum constant QPainter::CompositionMode_Clear | |
[static,const] | QPainter_CompositionMode | CompositionMode_ColorBurn | Enum constant QPainter::CompositionMode_ColorBurn | |
[static,const] | QPainter_CompositionMode | CompositionMode_ColorDodge | Enum constant QPainter::CompositionMode_ColorDodge | |
[static,const] | QPainter_CompositionMode | CompositionMode_Darken | Enum constant QPainter::CompositionMode_Darken | |
[static,const] | QPainter_CompositionMode | CompositionMode_Destination | Enum constant QPainter::CompositionMode_Destination | |
[static,const] | QPainter_CompositionMode | CompositionMode_DestinationAtop | Enum constant QPainter::CompositionMode_DestinationAtop | |
[static,const] | QPainter_CompositionMode | CompositionMode_DestinationIn | Enum constant QPainter::CompositionMode_DestinationIn | |
[static,const] | QPainter_CompositionMode | CompositionMode_DestinationOut | Enum constant QPainter::CompositionMode_DestinationOut | |
[static,const] | QPainter_CompositionMode | CompositionMode_DestinationOver | Enum constant QPainter::CompositionMode_DestinationOver | |
[static,const] | QPainter_CompositionMode | CompositionMode_Difference | Enum constant QPainter::CompositionMode_Difference | |
[static,const] | QPainter_CompositionMode | CompositionMode_Exclusion | Enum constant QPainter::CompositionMode_Exclusion | |
[static,const] | QPainter_CompositionMode | CompositionMode_HardLight | Enum constant QPainter::CompositionMode_HardLight | |
[static,const] | QPainter_CompositionMode | CompositionMode_Lighten | Enum constant QPainter::CompositionMode_Lighten | |
[static,const] | QPainter_CompositionMode | CompositionMode_Multiply | Enum constant QPainter::CompositionMode_Multiply | |
[static,const] | QPainter_CompositionMode | CompositionMode_Overlay | Enum constant QPainter::CompositionMode_Overlay | |
[static,const] | QPainter_CompositionMode | CompositionMode_Plus | Enum constant QPainter::CompositionMode_Plus | |
[static,const] | QPainter_CompositionMode | CompositionMode_Screen | Enum constant QPainter::CompositionMode_Screen | |
[static,const] | QPainter_CompositionMode | CompositionMode_SoftLight | Enum constant QPainter::CompositionMode_SoftLight | |
[static,const] | QPainter_CompositionMode | CompositionMode_Source | Enum constant QPainter::CompositionMode_Source | |
[static,const] | QPainter_CompositionMode | CompositionMode_SourceAtop | Enum constant QPainter::CompositionMode_SourceAtop | |
[static,const] | QPainter_CompositionMode | CompositionMode_SourceIn | Enum constant QPainter::CompositionMode_SourceIn | |
[static,const] | QPainter_CompositionMode | CompositionMode_SourceOut | Enum constant QPainter::CompositionMode_SourceOut | |
[static,const] | QPainter_CompositionMode | CompositionMode_SourceOver | Enum constant QPainter::CompositionMode_SourceOver | |
[static,const] | QPainter_CompositionMode | CompositionMode_Xor | Enum constant QPainter::CompositionMode_Xor | |
[static,const] | QPainter_RenderHint | HighQualityAntialiasing | Enum constant QPainter::HighQualityAntialiasing | |
[static,const] | QPainter_RenderHint | NonCosmeticDefaultPen | Enum constant QPainter::NonCosmeticDefaultPen | |
[static,const] | QPainter_PixmapFragmentHint | OpaqueHint | Enum constant QPainter::OpaqueHint | |
[static,const] | QPainter_RenderHint | Qt4CompatiblePainting | Enum constant QPainter::Qt4CompatiblePainting | |
[static,const] | QPainter_CompositionMode | RasterOp_ClearDestination | Enum constant QPainter::RasterOp_ClearDestination | |
[static,const] | QPainter_CompositionMode | RasterOp_NotDestination | Enum constant QPainter::RasterOp_NotDestination | |
[static,const] | QPainter_CompositionMode | RasterOp_NotSource | Enum constant QPainter::RasterOp_NotSource | |
[static,const] | QPainter_CompositionMode | RasterOp_NotSourceAndDestination | Enum constant QPainter::RasterOp_NotSourceAndDestination | |
[static,const] | QPainter_CompositionMode | RasterOp_NotSourceAndNotDestination | Enum constant QPainter::RasterOp_NotSourceAndNotDestination | |
[static,const] | QPainter_CompositionMode | RasterOp_NotSourceOrDestination | Enum constant QPainter::RasterOp_NotSourceOrDestination | |
[static,const] | QPainter_CompositionMode | RasterOp_NotSourceOrNotDestination | Enum constant QPainter::RasterOp_NotSourceOrNotDestination | |
[static,const] | QPainter_CompositionMode | RasterOp_NotSourceXorDestination | Enum constant QPainter::RasterOp_NotSourceXorDestination | |
[static,const] | QPainter_CompositionMode | RasterOp_SetDestination | Enum constant QPainter::RasterOp_SetDestination | |
[static,const] | QPainter_CompositionMode | RasterOp_SourceAndDestination | Enum constant QPainter::RasterOp_SourceAndDestination | |
[static,const] | QPainter_CompositionMode | RasterOp_SourceAndNotDestination | Enum constant QPainter::RasterOp_SourceAndNotDestination | |
[static,const] | QPainter_CompositionMode | RasterOp_SourceOrDestination | Enum constant QPainter::RasterOp_SourceOrDestination | |
[static,const] | QPainter_CompositionMode | RasterOp_SourceOrNotDestination | Enum constant QPainter::RasterOp_SourceOrNotDestination | |
[static,const] | QPainter_CompositionMode | RasterOp_SourceXorDestination | Enum constant QPainter::RasterOp_SourceXorDestination | |
[static,const] | QPainter_RenderHint | SmoothPixmapTransform | Enum constant QPainter::SmoothPixmapTransform | |
[static,const] | QPainter_RenderHint | TextAntialiasing | Enum constant QPainter::TextAntialiasing | |
QPaintDevice ptr | redirected | (const QPaintDevice ptr device, QPoint ptr offset = nullptr) | Static method QPaintDevice *QPainter::redirected(const QPaintDevice *device, QPoint *offset) | |
void | restoreRedirected | (const QPaintDevice ptr device) | Static method void QPainter::restoreRedirected(const QPaintDevice *device) | |
void | setRedirected | (const QPaintDevice ptr device, QPaintDevice ptr replacement, const QPoint offset = QPoint()) | Static method void QPainter::setRedirected(const QPaintDevice *device, QPaintDevice *replacement, const QPoint &offset) |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | destroyed? | Use of this method is deprecated. Use _destroyed? instead | |
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
Antialiasing | Signature: [static,const] QPainter_RenderHint Antialiasing Description: Enum constant QPainter::Antialiasing Python specific notes: |
CompositionMode_Clear | Signature: [static,const] QPainter_CompositionMode CompositionMode_Clear Description: Enum constant QPainter::CompositionMode_Clear Python specific notes: |
CompositionMode_ColorBurn | Signature: [static,const] QPainter_CompositionMode CompositionMode_ColorBurn Description: Enum constant QPainter::CompositionMode_ColorBurn Python specific notes: |
CompositionMode_ColorDodge | Signature: [static,const] QPainter_CompositionMode CompositionMode_ColorDodge Description: Enum constant QPainter::CompositionMode_ColorDodge Python specific notes: |
CompositionMode_Darken | Signature: [static,const] QPainter_CompositionMode CompositionMode_Darken Description: Enum constant QPainter::CompositionMode_Darken Python specific notes: |
CompositionMode_Destination | Signature: [static,const] QPainter_CompositionMode CompositionMode_Destination Description: Enum constant QPainter::CompositionMode_Destination Python specific notes: |
CompositionMode_DestinationAtop | Signature: [static,const] QPainter_CompositionMode CompositionMode_DestinationAtop Description: Enum constant QPainter::CompositionMode_DestinationAtop Python specific notes: |
CompositionMode_DestinationIn | Signature: [static,const] QPainter_CompositionMode CompositionMode_DestinationIn Description: Enum constant QPainter::CompositionMode_DestinationIn Python specific notes: |
CompositionMode_DestinationOut | Signature: [static,const] QPainter_CompositionMode CompositionMode_DestinationOut Description: Enum constant QPainter::CompositionMode_DestinationOut Python specific notes: |
CompositionMode_DestinationOver | Signature: [static,const] QPainter_CompositionMode CompositionMode_DestinationOver Description: Enum constant QPainter::CompositionMode_DestinationOver Python specific notes: |
CompositionMode_Difference | Signature: [static,const] QPainter_CompositionMode CompositionMode_Difference Description: Enum constant QPainter::CompositionMode_Difference Python specific notes: |
CompositionMode_Exclusion | Signature: [static,const] QPainter_CompositionMode CompositionMode_Exclusion Description: Enum constant QPainter::CompositionMode_Exclusion Python specific notes: |
CompositionMode_HardLight | Signature: [static,const] QPainter_CompositionMode CompositionMode_HardLight Description: Enum constant QPainter::CompositionMode_HardLight Python specific notes: |
CompositionMode_Lighten | Signature: [static,const] QPainter_CompositionMode CompositionMode_Lighten Description: Enum constant QPainter::CompositionMode_Lighten Python specific notes: |
CompositionMode_Multiply | Signature: [static,const] QPainter_CompositionMode CompositionMode_Multiply Description: Enum constant QPainter::CompositionMode_Multiply Python specific notes: |
CompositionMode_Overlay | Signature: [static,const] QPainter_CompositionMode CompositionMode_Overlay Description: Enum constant QPainter::CompositionMode_Overlay Python specific notes: |
CompositionMode_Plus | Signature: [static,const] QPainter_CompositionMode CompositionMode_Plus Description: Enum constant QPainter::CompositionMode_Plus Python specific notes: |
CompositionMode_Screen | Signature: [static,const] QPainter_CompositionMode CompositionMode_Screen Description: Enum constant QPainter::CompositionMode_Screen Python specific notes: |
CompositionMode_SoftLight | Signature: [static,const] QPainter_CompositionMode CompositionMode_SoftLight Description: Enum constant QPainter::CompositionMode_SoftLight Python specific notes: |
CompositionMode_Source | Signature: [static,const] QPainter_CompositionMode CompositionMode_Source Description: Enum constant QPainter::CompositionMode_Source Python specific notes: |
CompositionMode_SourceAtop | Signature: [static,const] QPainter_CompositionMode CompositionMode_SourceAtop Description: Enum constant QPainter::CompositionMode_SourceAtop Python specific notes: |
CompositionMode_SourceIn | Signature: [static,const] QPainter_CompositionMode CompositionMode_SourceIn Description: Enum constant QPainter::CompositionMode_SourceIn Python specific notes: |
CompositionMode_SourceOut | Signature: [static,const] QPainter_CompositionMode CompositionMode_SourceOut Description: Enum constant QPainter::CompositionMode_SourceOut Python specific notes: |
CompositionMode_SourceOver | Signature: [static,const] QPainter_CompositionMode CompositionMode_SourceOver Description: Enum constant QPainter::CompositionMode_SourceOver Python specific notes: |
CompositionMode_Xor | Signature: [static,const] QPainter_CompositionMode CompositionMode_Xor Description: Enum constant QPainter::CompositionMode_Xor Python specific notes: |
HighQualityAntialiasing | Signature: [static,const] QPainter_RenderHint HighQualityAntialiasing Description: Enum constant QPainter::HighQualityAntialiasing Python specific notes: |
NonCosmeticDefaultPen | Signature: [static,const] QPainter_RenderHint NonCosmeticDefaultPen Description: Enum constant QPainter::NonCosmeticDefaultPen Python specific notes: |
OpaqueHint | Signature: [static,const] QPainter_PixmapFragmentHint OpaqueHint Description: Enum constant QPainter::OpaqueHint Python specific notes: |
Qt4CompatiblePainting | Signature: [static,const] QPainter_RenderHint Qt4CompatiblePainting Description: Enum constant QPainter::Qt4CompatiblePainting Python specific notes: |
RasterOp_ClearDestination | Signature: [static,const] QPainter_CompositionMode RasterOp_ClearDestination Description: Enum constant QPainter::RasterOp_ClearDestination Python specific notes: |
RasterOp_NotDestination | Signature: [static,const] QPainter_CompositionMode RasterOp_NotDestination Description: Enum constant QPainter::RasterOp_NotDestination Python specific notes: |
RasterOp_NotSource | Signature: [static,const] QPainter_CompositionMode RasterOp_NotSource Description: Enum constant QPainter::RasterOp_NotSource Python specific notes: |
RasterOp_NotSourceAndDestination | Signature: [static,const] QPainter_CompositionMode RasterOp_NotSourceAndDestination Description: Enum constant QPainter::RasterOp_NotSourceAndDestination Python specific notes: |
RasterOp_NotSourceAndNotDestination | Signature: [static,const] QPainter_CompositionMode RasterOp_NotSourceAndNotDestination Description: Enum constant QPainter::RasterOp_NotSourceAndNotDestination Python specific notes: |
RasterOp_NotSourceOrDestination | Signature: [static,const] QPainter_CompositionMode RasterOp_NotSourceOrDestination Description: Enum constant QPainter::RasterOp_NotSourceOrDestination Python specific notes: |
RasterOp_NotSourceOrNotDestination | Signature: [static,const] QPainter_CompositionMode RasterOp_NotSourceOrNotDestination Description: Enum constant QPainter::RasterOp_NotSourceOrNotDestination Python specific notes: |
RasterOp_NotSourceXorDestination | Signature: [static,const] QPainter_CompositionMode RasterOp_NotSourceXorDestination Description: Enum constant QPainter::RasterOp_NotSourceXorDestination Python specific notes: |
RasterOp_SetDestination | Signature: [static,const] QPainter_CompositionMode RasterOp_SetDestination Description: Enum constant QPainter::RasterOp_SetDestination Python specific notes: |
RasterOp_SourceAndDestination | Signature: [static,const] QPainter_CompositionMode RasterOp_SourceAndDestination Description: Enum constant QPainter::RasterOp_SourceAndDestination Python specific notes: |
RasterOp_SourceAndNotDestination | Signature: [static,const] QPainter_CompositionMode RasterOp_SourceAndNotDestination Description: Enum constant QPainter::RasterOp_SourceAndNotDestination Python specific notes: |
RasterOp_SourceOrDestination | Signature: [static,const] QPainter_CompositionMode RasterOp_SourceOrDestination Description: Enum constant QPainter::RasterOp_SourceOrDestination Python specific notes: |
RasterOp_SourceOrNotDestination | Signature: [static,const] QPainter_CompositionMode RasterOp_SourceOrNotDestination Description: Enum constant QPainter::RasterOp_SourceOrNotDestination Python specific notes: |
RasterOp_SourceXorDestination | Signature: [static,const] QPainter_CompositionMode RasterOp_SourceXorDestination Description: Enum constant QPainter::RasterOp_SourceXorDestination Python specific notes: |
SmoothPixmapTransform | Signature: [static,const] QPainter_RenderHint SmoothPixmapTransform Description: Enum constant QPainter::SmoothPixmapTransform Python specific notes: |
TextAntialiasing | Signature: [static,const] QPainter_RenderHint TextAntialiasing Description: Enum constant QPainter::TextAntialiasing Python specific notes: |
_const_cast | Signature: [const] QPainter ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
background | Signature: [const] QBrush background Description: Method const QBrush &QPainter::background() Python specific notes: |
background= | Signature: void background= (const QBrush bg) Description: Method void QPainter::setBackground(const QBrush &bg) Python specific notes: |
backgroundMode | Signature: [const] Qt_BGMode backgroundMode Description: Method Qt::BGMode QPainter::backgroundMode() Python specific notes: |
backgroundMode= | Signature: void backgroundMode= (const Qt_BGMode mode) Description: Method void QPainter::setBackgroundMode(Qt::BGMode mode) Python specific notes: |
begin | Signature: bool begin (QPaintDevice ptr arg1) Description: Method bool QPainter::begin(QPaintDevice *) |
beginNativePainting | Signature: void beginNativePainting Description: Method void QPainter::beginNativePainting() |
boundingRect | (1) Signature: QRectF boundingRect (const QRectF rect, int flags, string text) Description: Method QRectF QPainter::boundingRect(const QRectF &rect, int flags, const QString &text) |
(2) Signature: QRect boundingRect (const QRect rect, int flags, string text) Description: Method QRect QPainter::boundingRect(const QRect &rect, int flags, const QString &text) | |
(3) Signature: QRect boundingRect (int x, int y, int w, int h, int flags, string text) Description: Method QRect QPainter::boundingRect(int x, int y, int w, int h, int flags, const QString &text) | |
(4) Signature: QRectF boundingRect (const QRectF rect, string text, const QTextOption o = QTextOption()) Description: Method QRectF QPainter::boundingRect(const QRectF &rect, const QString &text, const QTextOption &o) | |
brush | Signature: [const] QBrush brush Description: Method const QBrush &QPainter::brush() Python specific notes: |
brush= | (1) Signature: void brush= (const QBrush brush) Description: Method void QPainter::setBrush(const QBrush &brush) Python specific notes: |
(2) Signature: void brush= (const Qt_BrushStyle style) Description: Method void QPainter::setBrush(Qt::BrushStyle style) Python specific notes: | |
brushOrigin | Signature: [const] QPoint brushOrigin Description: Method QPoint QPainter::brushOrigin() Python specific notes: |
brushOrigin= | (1) Signature: void brushOrigin= (const QPoint arg1) Description: Method void QPainter::setBrushOrigin(const QPoint &) Python specific notes: |
(2) Signature: void brushOrigin= (const QPointF arg1) Description: Method void QPainter::setBrushOrigin(const QPointF &) Python specific notes: | |
clipBoundingRect | Signature: [const] QRectF clipBoundingRect Description: Method QRectF QPainter::clipBoundingRect() |
clipPath | Signature: [const] QPainterPath clipPath Description: Method QPainterPath QPainter::clipPath() Python specific notes: |
clipRegion | Signature: [const] QRegion clipRegion Description: Method QRegion QPainter::clipRegion() Python specific notes: |
clipping | Signature: [const] bool clipping Description: Method bool QPainter::hasClipping() Python specific notes: |
clipping= | Signature: void clipping= (bool enable) Description: Method void QPainter::setClipping(bool enable) Python specific notes: |
combinedMatrix | Signature: [const] QMatrix combinedMatrix Description: Method QMatrix QPainter::combinedMatrix() |
combinedTransform | Signature: [const] QTransform combinedTransform Description: Method QTransform QPainter::combinedTransform() |
compositionMode | Signature: [const] QPainter_CompositionMode compositionMode Description: Method QPainter::CompositionMode QPainter::compositionMode() Python specific notes: |
compositionMode= | Signature: void compositionMode= (const QPainter_CompositionMode mode) Description: Method void QPainter::setCompositionMode(QPainter::CompositionMode mode) Python specific notes: |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
destroyed? | Signature: [const] bool destroyed? Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
device | Signature: [const] QPaintDevice ptr device Description: Method QPaintDevice *QPainter::device() |
deviceMatrix | Signature: [const] QMatrix deviceMatrix Description: Method const QMatrix &QPainter::deviceMatrix() |
deviceTransform | Signature: [const] QTransform deviceTransform Description: Method const QTransform &QPainter::deviceTransform() |
drawArc | (1) Signature: void drawArc (const QRectF rect, int a, int alen) Description: Method void QPainter::drawArc(const QRectF &rect, int a, int alen) |
(2) Signature: void drawArc (const QRect arg1, int a, int alen) Description: Method void QPainter::drawArc(const QRect &, int a, int alen) | |
(3) Signature: void drawArc (int x, int y, int w, int h, int a, int alen) Description: Method void QPainter::drawArc(int x, int y, int w, int h, int a, int alen) | |
drawChord | (1) Signature: void drawChord (const QRectF rect, int a, int alen) Description: Method void QPainter::drawChord(const QRectF &rect, int a, int alen) |
(2) Signature: void drawChord (int x, int y, int w, int h, int a, int alen) Description: Method void QPainter::drawChord(int x, int y, int w, int h, int a, int alen) | |
(3) Signature: void drawChord (const QRect arg1, int a, int alen) Description: Method void QPainter::drawChord(const QRect &, int a, int alen) | |
drawConvexPolygon | (1) Signature: void drawConvexPolygon (const QPolygonF polygon) Description: Method void QPainter::drawConvexPolygon(const QPolygonF &polygon) |
(2) Signature: void drawConvexPolygon (const QPolygon polygon) Description: Method void QPainter::drawConvexPolygon(const QPolygon &polygon) | |
drawEllipse | (1) Signature: void drawEllipse (const QRectF r) Description: Method void QPainter::drawEllipse(const QRectF &r) |
(2) Signature: void drawEllipse (const QRect r) Description: Method void QPainter::drawEllipse(const QRect &r) | |
(3) Signature: void drawEllipse (int x, int y, int w, int h) Description: Method void QPainter::drawEllipse(int x, int y, int w, int h) | |
(4) Signature: void drawEllipse (const QPointF center, double rx, double ry) Description: Method void QPainter::drawEllipse(const QPointF ¢er, double rx, double ry) | |
(5) Signature: void drawEllipse (const QPoint center, int rx, int ry) Description: Method void QPainter::drawEllipse(const QPoint ¢er, int rx, int ry) | |
drawGlyphRun | Signature: void drawGlyphRun (const QPointF position, const QGlyphRun glyphRun) Description: Method void QPainter::drawGlyphRun(const QPointF &position, const QGlyphRun &glyphRun) |
drawImage | (1) Signature: void drawImage (const QRectF targetRect, const QImage image, const QRectF sourceRect, Qt_QFlags_ImageConversionFlag flags = Qt::AutoColor) Description: Method void QPainter::drawImage(const QRectF &targetRect, const QImage &image, const QRectF &sourceRect, QFlags<Qt::ImageConversionFlag> flags) |
(2) Signature: void drawImage (const QRect targetRect, const QImage image, const QRect sourceRect, Qt_QFlags_ImageConversionFlag flags = Qt::AutoColor) Description: Method void QPainter::drawImage(const QRect &targetRect, const QImage &image, const QRect &sourceRect, QFlags<Qt::ImageConversionFlag> flags) | |
(3) Signature: void drawImage (const QPointF p, const QImage image, const QRectF sr, Qt_QFlags_ImageConversionFlag flags = Qt::AutoColor) Description: Method void QPainter::drawImage(const QPointF &p, const QImage &image, const QRectF &sr, QFlags<Qt::ImageConversionFlag> flags) | |
(4) Signature: void drawImage (const QPoint p, const QImage image, const QRect sr, Qt_QFlags_ImageConversionFlag flags = Qt::AutoColor) Description: Method void QPainter::drawImage(const QPoint &p, const QImage &image, const QRect &sr, QFlags<Qt::ImageConversionFlag> flags) | |
(5) Signature: void drawImage (const QRectF r, const QImage image) Description: Method void QPainter::drawImage(const QRectF &r, const QImage &image) | |
(6) Signature: void drawImage (const QRect r, const QImage image) Description: Method void QPainter::drawImage(const QRect &r, const QImage &image) | |
(7) Signature: void drawImage (const QPointF p, const QImage image) Description: Method void QPainter::drawImage(const QPointF &p, const QImage &image) | |
(8) Signature: void drawImage (const QPoint p, const QImage image) Description: Method void QPainter::drawImage(const QPoint &p, const QImage &image) | |
(9) Signature: void drawImage (int x, int y, const QImage image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt_QFlags_ImageConversionFlag flags = Qt::AutoColor) Description: Method void QPainter::drawImage(int x, int y, const QImage &image, int sx, int sy, int sw, int sh, QFlags<Qt::ImageConversionFlag> flags) | |
drawLine | (1) Signature: void drawLine (const QLineF line) Description: Method void QPainter::drawLine(const QLineF &line) |
(2) Signature: void drawLine (const QLine line) Description: Method void QPainter::drawLine(const QLine &line) | |
(3) Signature: void drawLine (int x1, int y1, int x2, int y2) Description: Method void QPainter::drawLine(int x1, int y1, int x2, int y2) | |
(4) Signature: void drawLine (const QPoint p1, const QPoint p2) Description: Method void QPainter::drawLine(const QPoint &p1, const QPoint &p2) | |
(5) Signature: void drawLine (const QPointF p1, const QPointF p2) Description: Method void QPainter::drawLine(const QPointF &p1, const QPointF &p2) | |
drawLines_f | Signature: void drawLines_f (QLineF[] lines) Description: Method void QPainter::drawLines(const QVector<QLineF> &lines) |
drawLines_fp | Signature: void drawLines_fp (QPointF[] pointPairs) Description: Method void QPainter::drawLines(const QVector<QPointF> &pointPairs) |
drawLines_i | Signature: void drawLines_i (QLine[] lines) Description: Method void QPainter::drawLines(const QVector<QLine> &lines) |
drawLines_ip | Signature: void drawLines_ip (QPoint[] pointPairs) Description: Method void QPainter::drawLines(const QVector<QPoint> &pointPairs) |
drawPath | Signature: void drawPath (const QPainterPath path) Description: Method void QPainter::drawPath(const QPainterPath &path) |
drawPicture | (1) Signature: void drawPicture (const QPointF p, const QPicture picture) Description: Method void QPainter::drawPicture(const QPointF &p, const QPicture &picture) |
(2) Signature: void drawPicture (int x, int y, const QPicture picture) Description: Method void QPainter::drawPicture(int x, int y, const QPicture &picture) | |
(3) Signature: void drawPicture (const QPoint p, const QPicture picture) Description: Method void QPainter::drawPicture(const QPoint &p, const QPicture &picture) | |
drawPie | (1) Signature: void drawPie (const QRectF rect, int a, int alen) Description: Method void QPainter::drawPie(const QRectF &rect, int a, int alen) |
(2) Signature: void drawPie (int x, int y, int w, int h, int a, int alen) Description: Method void QPainter::drawPie(int x, int y, int w, int h, int a, int alen) | |
(3) Signature: void drawPie (const QRect arg1, int a, int alen) Description: Method void QPainter::drawPie(const QRect &, int a, int alen) | |
drawPixmap | (1) Signature: void drawPixmap (const QRectF targetRect, const QPixmap pixmap, const QRectF sourceRect) Description: Method void QPainter::drawPixmap(const QRectF &targetRect, const QPixmap &pixmap, const QRectF &sourceRect) |
(2) Signature: void drawPixmap (const QRect targetRect, const QPixmap pixmap, const QRect sourceRect) Description: Method void QPainter::drawPixmap(const QRect &targetRect, const QPixmap &pixmap, const QRect &sourceRect) | |
(3) Signature: void drawPixmap (int x, int y, int w, int h, const QPixmap pm, int sx, int sy, int sw, int sh) Description: Method void QPainter::drawPixmap(int x, int y, int w, int h, const QPixmap &pm, int sx, int sy, int sw, int sh) | |
(4) Signature: void drawPixmap (int x, int y, const QPixmap pm, int sx, int sy, int sw, int sh) Description: Method void QPainter::drawPixmap(int x, int y, const QPixmap &pm, int sx, int sy, int sw, int sh) | |
(5) Signature: void drawPixmap (const QPointF p, const QPixmap pm, const QRectF sr) Description: Method void QPainter::drawPixmap(const QPointF &p, const QPixmap &pm, const QRectF &sr) | |
(6) Signature: void drawPixmap (const QPoint p, const QPixmap pm, const QRect sr) Description: Method void QPainter::drawPixmap(const QPoint &p, const QPixmap &pm, const QRect &sr) | |
(7) Signature: void drawPixmap (const QPointF p, const QPixmap pm) Description: Method void QPainter::drawPixmap(const QPointF &p, const QPixmap &pm) | |
(8) Signature: void drawPixmap (const QPoint p, const QPixmap pm) Description: Method void QPainter::drawPixmap(const QPoint &p, const QPixmap &pm) | |
(9) Signature: void drawPixmap (int x, int y, const QPixmap pm) Description: Method void QPainter::drawPixmap(int x, int y, const QPixmap &pm) | |
(10) Signature: void drawPixmap (const QRect r, const QPixmap pm) Description: Method void QPainter::drawPixmap(const QRect &r, const QPixmap &pm) | |
(11) Signature: void drawPixmap (int x, int y, int w, int h, const QPixmap pm) Description: Method void QPainter::drawPixmap(int x, int y, int w, int h, const QPixmap &pm) | |
drawPixmapFragments | Signature: void drawPixmapFragments (const QPainter_PixmapFragment ptr fragments, int fragmentCount, const QPixmap pixmap, QPainter_QFlags_PixmapFragmentHint hints = QPainter::PixmapFragmentHints()) Description: Method void QPainter::drawPixmapFragments(const QPainter::PixmapFragment *fragments, int fragmentCount, const QPixmap &pixmap, QFlags<QPainter::PixmapFragmentHint> hints) |
drawPoint | (1) Signature: void drawPoint (const QPointF pt) Description: Method void QPainter::drawPoint(const QPointF &pt) |
(2) Signature: void drawPoint (const QPoint p) Description: Method void QPainter::drawPoint(const QPoint &p) | |
(3) Signature: void drawPoint (int x, int y) Description: Method void QPainter::drawPoint(int x, int y) | |
drawPoints | (1) Signature: void drawPoints (const QPolygonF points) Description: Method void QPainter::drawPoints(const QPolygonF &points) |
(2) Signature: void drawPoints (const QPolygon points) Description: Method void QPainter::drawPoints(const QPolygon &points) | |
drawPolygon | (1) Signature: void drawPolygon (const QPolygonF polygon, const Qt_FillRule fillRule = Qt::OddEvenFill) Description: Method void QPainter::drawPolygon(const QPolygonF &polygon, Qt::FillRule fillRule) |
(2) Signature: void drawPolygon (const QPolygon polygon, const Qt_FillRule fillRule = Qt::OddEvenFill) Description: Method void QPainter::drawPolygon(const QPolygon &polygon, Qt::FillRule fillRule) | |
drawPolyline | (1) Signature: void drawPolyline (const QPolygonF polyline) Description: Method void QPainter::drawPolyline(const QPolygonF &polyline) |
(2) Signature: void drawPolyline (const QPolygon polygon) Description: Method void QPainter::drawPolyline(const QPolygon &polygon) | |
drawRect | (1) Signature: void drawRect (const QRectF rect) Description: Method void QPainter::drawRect(const QRectF &rect) |
(2) Signature: void drawRect (int x1, int y1, int w, int h) Description: Method void QPainter::drawRect(int x1, int y1, int w, int h) | |
(3) Signature: void drawRect (const QRect rect) Description: Method void QPainter::drawRect(const QRect &rect) | |
drawRects_f | Signature: void drawRects_f (QRectF[] rectangles) Description: Method void QPainter::drawRects(const QVector<QRectF> &rectangles) |
drawRects_i | Signature: void drawRects_i (QRect[] rectangles) Description: Method void QPainter::drawRects(const QVector<QRect> &rectangles) |
drawRoundRect | (1) Signature: void drawRoundRect (const QRectF r, int xround = 25, int yround = 25) Description: Method void QPainter::drawRoundRect(const QRectF &r, int xround, int yround) |
(2) Signature: void drawRoundRect (int x, int y, int w, int h, int arg5 = 25, int arg6 = 25) Description: Method void QPainter::drawRoundRect(int x, int y, int w, int h, int, int) | |
(3) Signature: void drawRoundRect (const QRect r, int xround = 25, int yround = 25) Description: Method void QPainter::drawRoundRect(const QRect &r, int xround, int yround) | |
drawRoundedRect | (1) Signature: void drawRoundedRect (const QRectF rect, double xRadius, double yRadius, const Qt_SizeMode mode = Qt::AbsoluteSize) Description: Method void QPainter::drawRoundedRect(const QRectF &rect, double xRadius, double yRadius, Qt::SizeMode mode) |
(2) Signature: void drawRoundedRect (int x, int y, int w, int h, double xRadius, double yRadius, const Qt_SizeMode mode = Qt::AbsoluteSize) Description: Method void QPainter::drawRoundedRect(int x, int y, int w, int h, double xRadius, double yRadius, Qt::SizeMode mode) | |
(3) Signature: void drawRoundedRect (const QRect rect, double xRadius, double yRadius, const Qt_SizeMode mode = Qt::AbsoluteSize) Description: Method void QPainter::drawRoundedRect(const QRect &rect, double xRadius, double yRadius, Qt::SizeMode mode) | |
drawStaticText | (1) Signature: void drawStaticText (const QPointF topLeftPosition, const QStaticText staticText) Description: Method void QPainter::drawStaticText(const QPointF &topLeftPosition, const QStaticText &staticText) |
(2) Signature: void drawStaticText (const QPoint topLeftPosition, const QStaticText staticText) Description: Method void QPainter::drawStaticText(const QPoint &topLeftPosition, const QStaticText &staticText) | |
(3) Signature: void drawStaticText (int left, int top, const QStaticText staticText) Description: Method void QPainter::drawStaticText(int left, int top, const QStaticText &staticText) | |
drawText | (1) Signature: void drawText (const QPointF p, string s) Description: Method void QPainter::drawText(const QPointF &p, const QString &s) |
(2) Signature: void drawText (const QPoint p, string s) Description: Method void QPainter::drawText(const QPoint &p, const QString &s) | |
(3) Signature: void drawText (int x, int y, string s) Description: Method void QPainter::drawText(int x, int y, const QString &s) | |
(4) Signature: void drawText (const QPointF p, string str, int tf, int justificationPadding) Description: Method void QPainter::drawText(const QPointF &p, const QString &str, int tf, int justificationPadding) | |
(5) Signature: void drawText (const QRectF r, int flags, string text, QRectF ptr br = nullptr) Description: Method void QPainter::drawText(const QRectF &r, int flags, const QString &text, QRectF *br) | |
(6) Signature: void drawText (const QRect r, int flags, string text, QRect ptr br = nullptr) Description: Method void QPainter::drawText(const QRect &r, int flags, const QString &text, QRect *br) | |
(7) Signature: void drawText (int x, int y, int w, int h, int flags, string text, QRect ptr br = nullptr) Description: Method void QPainter::drawText(int x, int y, int w, int h, int flags, const QString &text, QRect *br) | |
(8) Signature: void drawText (const QRectF r, string text, const QTextOption o = QTextOption()) Description: Method void QPainter::drawText(const QRectF &r, const QString &text, const QTextOption &o) | |
drawTextItem | (1) Signature: void drawTextItem (const QPointF p, const QTextItem ti) Description: Method void QPainter::drawTextItem(const QPointF &p, const QTextItem &ti) |
(2) Signature: void drawTextItem (int x, int y, const QTextItem ti) Description: Method void QPainter::drawTextItem(int x, int y, const QTextItem &ti) | |
(3) Signature: void drawTextItem (const QPoint p, const QTextItem ti) Description: Method void QPainter::drawTextItem(const QPoint &p, const QTextItem &ti) | |
drawTiledPixmap | (1) Signature: void drawTiledPixmap (const QRectF rect, const QPixmap pm, const QPointF offset = QPointF()) Description: Method void QPainter::drawTiledPixmap(const QRectF &rect, const QPixmap &pm, const QPointF &offset) |
(2) Signature: void drawTiledPixmap (int x, int y, int w, int h, const QPixmap arg5, int sx = 0, int sy = 0) Description: Method void QPainter::drawTiledPixmap(int x, int y, int w, int h, const QPixmap &, int sx, int sy) | |
(3) Signature: void drawTiledPixmap (const QRect arg1, const QPixmap arg2, const QPoint arg3 = QPoint()) Description: Method void QPainter::drawTiledPixmap(const QRect &, const QPixmap &, const QPoint &) | |
end | Signature: bool end Description: Method bool QPainter::end() |
endNativePainting | Signature: void endNativePainting Description: Method void QPainter::endNativePainting() |
eraseRect | (1) Signature: void eraseRect (const QRectF arg1) Description: Method void QPainter::eraseRect(const QRectF &) |
(2) Signature: void eraseRect (int x, int y, int w, int h) Description: Method void QPainter::eraseRect(int x, int y, int w, int h) | |
(3) Signature: void eraseRect (const QRect arg1) Description: Method void QPainter::eraseRect(const QRect &) | |
fillPath | Signature: void fillPath (const QPainterPath path, const QBrush brush) Description: Method void QPainter::fillPath(const QPainterPath &path, const QBrush &brush) |
fillRect | (1) Signature: void fillRect (const QRectF arg1, const QBrush arg2) Description: Method void QPainter::fillRect(const QRectF &, const QBrush &) |
(2) Signature: void fillRect (int x, int y, int w, int h, const QBrush arg5) Description: Method void QPainter::fillRect(int x, int y, int w, int h, const QBrush &) | |
(3) Signature: void fillRect (const QRect arg1, const QBrush arg2) Description: Method void QPainter::fillRect(const QRect &, const QBrush &) | |
(4) Signature: void fillRect (const QRectF arg1, const QColor color) Description: Method void QPainter::fillRect(const QRectF &, const QColor &color) | |
(5) Signature: void fillRect (int x, int y, int w, int h, const QColor color) Description: Method void QPainter::fillRect(int x, int y, int w, int h, const QColor &color) | |
(6) Signature: void fillRect (const QRect arg1, const QColor color) Description: Method void QPainter::fillRect(const QRect &, const QColor &color) | |
(7) Signature: void fillRect (int x, int y, int w, int h, const Qt_GlobalColor c) Description: Method void QPainter::fillRect(int x, int y, int w, int h, Qt::GlobalColor c) | |
(8) Signature: void fillRect (const QRect r, const Qt_GlobalColor c) Description: Method void QPainter::fillRect(const QRect &r, Qt::GlobalColor c) | |
(9) Signature: void fillRect (const QRectF r, const Qt_GlobalColor c) Description: Method void QPainter::fillRect(const QRectF &r, Qt::GlobalColor c) | |
(10) Signature: void fillRect (int x, int y, int w, int h, const Qt_BrushStyle style) Description: Method void QPainter::fillRect(int x, int y, int w, int h, Qt::BrushStyle style) | |
(11) Signature: void fillRect (const QRect r, const Qt_BrushStyle style) Description: Method void QPainter::fillRect(const QRect &r, Qt::BrushStyle style) | |
(12) Signature: void fillRect (const QRectF r, const Qt_BrushStyle style) Description: Method void QPainter::fillRect(const QRectF &r, Qt::BrushStyle style) | |
(13) Signature: void fillRect (int x, int y, int w, int h, const QGradient_Preset preset) Description: Method void QPainter::fillRect(int x, int y, int w, int h, QGradient::Preset preset) | |
(14) Signature: void fillRect (const QRect r, const QGradient_Preset preset) Description: Method void QPainter::fillRect(const QRect &r, QGradient::Preset preset) | |
(15) Signature: void fillRect (const QRectF r, const QGradient_Preset preset) Description: Method void QPainter::fillRect(const QRectF &r, QGradient::Preset preset) | |
font | Signature: [const] QFont font Description: Method const QFont &QPainter::font() Python specific notes: |
font= | Signature: void font= (const QFont f) Description: Method void QPainter::setFont(const QFont &f) Python specific notes: |
fontInfo | Signature: [const] QFontInfo fontInfo Description: Method QFontInfo QPainter::fontInfo() |
fontMetrics | Signature: [const] QFontMetrics fontMetrics Description: Method QFontMetrics QPainter::fontMetrics() |
hasClipping | Signature: [const] bool hasClipping Description: Method bool QPainter::hasClipping() Python specific notes: |
initFrom | Signature: void initFrom (const QPaintDevice ptr device) Description: Method void QPainter::initFrom(const QPaintDevice *device) |
isActive? | Signature: [const] bool isActive? Description: Method bool QPainter::isActive() |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
layoutDirection | Signature: [const] Qt_LayoutDirection layoutDirection Description: Method Qt::LayoutDirection QPainter::layoutDirection() Python specific notes: |
layoutDirection= | Signature: void layoutDirection= (const Qt_LayoutDirection direction) Description: Method void QPainter::setLayoutDirection(Qt::LayoutDirection direction) Python specific notes: |
matrix | Signature: [const] QMatrix matrix Description: Method const QMatrix &QPainter::matrix() Python specific notes: |
matrixEnabled | Signature: [const] bool matrixEnabled Description: Method bool QPainter::matrixEnabled() Python specific notes: |
matrixEnabled= | Signature: void matrixEnabled= (bool enabled) Description: Method void QPainter::setMatrixEnabled(bool enabled) Python specific notes: |
new | (1) Signature: [static] new QPainter new Description: Constructor QPainter::QPainter() This method creates an object of class QPainter. Python specific notes: |
(2) Signature: [static] new QPainter new (QPaintDevice ptr arg1) Description: Constructor QPainter::QPainter(QPaintDevice *) This method creates an object of class QPainter. Python specific notes: | |
opacity | Signature: [const] double opacity Description: Method double QPainter::opacity() Python specific notes: |
opacity= | Signature: void opacity= (double opacity) Description: Method void QPainter::setOpacity(double opacity) Python specific notes: |
paintEngine | Signature: [const] QPaintEngine ptr paintEngine Description: Method QPaintEngine *QPainter::paintEngine() |
pen | Signature: [const] QPen pen Description: Method const QPen &QPainter::pen() |
redirected | Signature: [static] QPaintDevice ptr redirected (const QPaintDevice ptr device, QPoint ptr offset = nullptr) Description: Static method QPaintDevice *QPainter::redirected(const QPaintDevice *device, QPoint *offset) This method is static and can be called without an instance. |
renderHints | Signature: [const] QPainter_QFlags_RenderHint renderHints Description: Method QFlags<QPainter::RenderHint> QPainter::renderHints() Python specific notes: |
resetMatrix | Signature: void resetMatrix Description: Method void QPainter::resetMatrix() |
resetTransform | Signature: void resetTransform Description: Method void QPainter::resetTransform() |
restore | Signature: void restore Description: Method void QPainter::restore() |
restoreRedirected | Signature: [static] void restoreRedirected (const QPaintDevice ptr device) Description: Static method void QPainter::restoreRedirected(const QPaintDevice *device) This method is static and can be called without an instance. |
rotate | Signature: void rotate (double a) Description: Method void QPainter::rotate(double a) |
save | Signature: void save Description: Method void QPainter::save() |
scale | Signature: void scale (double sx, double sy) Description: Method void QPainter::scale(double sx, double sy) |
setBackground | Signature: void setBackground (const QBrush bg) Description: Method void QPainter::setBackground(const QBrush &bg) Python specific notes: |
setBackgroundMode | Signature: void setBackgroundMode (const Qt_BGMode mode) Description: Method void QPainter::setBackgroundMode(Qt::BGMode mode) Python specific notes: |
setBrush | (1) Signature: void setBrush (const QBrush brush) Description: Method void QPainter::setBrush(const QBrush &brush) Python specific notes: |
(2) Signature: void setBrush (const Qt_BrushStyle style) Description: Method void QPainter::setBrush(Qt::BrushStyle style) Python specific notes: | |
setBrushOrigin | (1) Signature: void setBrushOrigin (int x, int y) Description: Method void QPainter::setBrushOrigin(int x, int y) |
(2) Signature: void setBrushOrigin (const QPoint arg1) Description: Method void QPainter::setBrushOrigin(const QPoint &) Python specific notes: | |
(3) Signature: void setBrushOrigin (const QPointF arg1) Description: Method void QPainter::setBrushOrigin(const QPointF &) Python specific notes: | |
setClipPath | Signature: void setClipPath (const QPainterPath path, const Qt_ClipOperation op = Qt::ReplaceClip) Description: Method void QPainter::setClipPath(const QPainterPath &path, Qt::ClipOperation op) |
setClipRect | (1) Signature: void setClipRect (const QRectF arg1, const Qt_ClipOperation op = Qt::ReplaceClip) Description: Method void QPainter::setClipRect(const QRectF &, Qt::ClipOperation op) |
(2) Signature: void setClipRect (const QRect arg1, const Qt_ClipOperation op = Qt::ReplaceClip) Description: Method void QPainter::setClipRect(const QRect &, Qt::ClipOperation op) | |
(3) Signature: void setClipRect (int x, int y, int w, int h, const Qt_ClipOperation op = Qt::ReplaceClip) Description: Method void QPainter::setClipRect(int x, int y, int w, int h, Qt::ClipOperation op) | |
setClipRegion | Signature: void setClipRegion (const QRegion arg1, const Qt_ClipOperation op = Qt::ReplaceClip) Description: Method void QPainter::setClipRegion(const QRegion &, Qt::ClipOperation op) |
setClipping | Signature: void setClipping (bool enable) Description: Method void QPainter::setClipping(bool enable) Python specific notes: |
setCompositionMode | Signature: void setCompositionMode (const QPainter_CompositionMode mode) Description: Method void QPainter::setCompositionMode(QPainter::CompositionMode mode) Python specific notes: |
setFont | Signature: void setFont (const QFont f) Description: Method void QPainter::setFont(const QFont &f) Python specific notes: |
setLayoutDirection | Signature: void setLayoutDirection (const Qt_LayoutDirection direction) Description: Method void QPainter::setLayoutDirection(Qt::LayoutDirection direction) Python specific notes: |
setMatrix | Signature: void setMatrix (const QMatrix matrix, bool combine = false) Description: Method void QPainter::setMatrix(const QMatrix &matrix, bool combine) |
setMatrixEnabled | Signature: void setMatrixEnabled (bool enabled) Description: Method void QPainter::setMatrixEnabled(bool enabled) Python specific notes: |
setOpacity | Signature: void setOpacity (double opacity) Description: Method void QPainter::setOpacity(double opacity) Python specific notes: |
setPen | (1) Signature: void setPen (const QColor color) Description: Method void QPainter::setPen(const QColor &color) |
(2) Signature: void setPen (const QPen pen) Description: Method void QPainter::setPen(const QPen &pen) | |
(3) Signature: void setPen (const Qt_PenStyle style) Description: Method void QPainter::setPen(Qt::PenStyle style) | |
setRedirected | Signature: [static] void setRedirected (const QPaintDevice ptr device, QPaintDevice ptr replacement, const QPoint offset = QPoint()) Description: Static method void QPainter::setRedirected(const QPaintDevice *device, QPaintDevice *replacement, const QPoint &offset) This method is static and can be called without an instance. |
setRenderHint | Signature: void setRenderHint (const QPainter_RenderHint hint, bool on = true) Description: Method void QPainter::setRenderHint(QPainter::RenderHint hint, bool on) |
setRenderHints | Signature: void setRenderHints (QPainter_QFlags_RenderHint hints, bool on = true) Description: Method void QPainter::setRenderHints(QFlags<QPainter::RenderHint> hints, bool on) |
setTransform | Signature: void setTransform (const QTransform transform, bool combine = false) Description: Method void QPainter::setTransform(const QTransform &transform, bool combine) |
setViewTransformEnabled | Signature: void setViewTransformEnabled (bool enable) Description: Method void QPainter::setViewTransformEnabled(bool enable) Python specific notes: |
setViewport | (1) Signature: void setViewport (const QRect viewport) Description: Method void QPainter::setViewport(const QRect &viewport) Python specific notes: |
(2) Signature: void setViewport (int x, int y, int w, int h) Description: Method void QPainter::setViewport(int x, int y, int w, int h) | |
setWindow | (1) Signature: void setWindow (const QRect window) Description: Method void QPainter::setWindow(const QRect &window) Python specific notes: |
(2) Signature: void setWindow (int x, int y, int w, int h) Description: Method void QPainter::setWindow(int x, int y, int w, int h) | |
setWorldMatrix | Signature: void setWorldMatrix (const QMatrix matrix, bool combine = false) Description: Method void QPainter::setWorldMatrix(const QMatrix &matrix, bool combine) |
setWorldMatrixEnabled | Signature: void setWorldMatrixEnabled (bool enabled) Description: Method void QPainter::setWorldMatrixEnabled(bool enabled) Python specific notes: |
setWorldTransform | Signature: void setWorldTransform (const QTransform matrix, bool combine = false) Description: Method void QPainter::setWorldTransform(const QTransform &matrix, bool combine) |
shear | Signature: void shear (double sh, double sv) Description: Method void QPainter::shear(double sh, double sv) |
strokePath | Signature: void strokePath (const QPainterPath path, const QPen pen) Description: Method void QPainter::strokePath(const QPainterPath &path, const QPen &pen) |
testRenderHint | Signature: [const] bool testRenderHint (const QPainter_RenderHint hint) Description: Method bool QPainter::testRenderHint(QPainter::RenderHint hint) |
transform | Signature: [const] QTransform transform Description: Method const QTransform &QPainter::transform() Python specific notes: |
translate | (1) Signature: void translate (const QPointF offset) Description: Method void QPainter::translate(const QPointF &offset) |
(2) Signature: void translate (const QPoint offset) Description: Method void QPainter::translate(const QPoint &offset) | |
(3) Signature: void translate (double dx, double dy) Description: Method void QPainter::translate(double dx, double dy) | |
viewTransformEnabled | Signature: [const] bool viewTransformEnabled Description: Method bool QPainter::viewTransformEnabled() Python specific notes: |
viewTransformEnabled= | Signature: void viewTransformEnabled= (bool enable) Description: Method void QPainter::setViewTransformEnabled(bool enable) Python specific notes: |
viewport | Signature: [const] QRect viewport Description: Method QRect QPainter::viewport() Python specific notes: |
viewport= | Signature: void viewport= (const QRect viewport) Description: Method void QPainter::setViewport(const QRect &viewport) Python specific notes: |
window | Signature: [const] QRect window Description: Method QRect QPainter::window() Python specific notes: |
window= | Signature: void window= (const QRect window) Description: Method void QPainter::setWindow(const QRect &window) Python specific notes: |
worldMatrix | Signature: [const] QMatrix worldMatrix Description: Method const QMatrix &QPainter::worldMatrix() Python specific notes: |
worldMatrixEnabled | Signature: [const] bool worldMatrixEnabled Description: Method bool QPainter::worldMatrixEnabled() Python specific notes: |
worldMatrixEnabled= | Signature: void worldMatrixEnabled= (bool enabled) Description: Method void QPainter::setWorldMatrixEnabled(bool enabled) Python specific notes: |
worldTransform | Signature: [const] QTransform worldTransform Description: Method const QTransform &QPainter::worldTransform() Python specific notes: |