NAME
Qt::Gui::QPainter
PUBLIC METHODS
- QPainter()
- QPainter(QPaintDevice * arg0)
- ~QPainter()
- const QBrush & background()
- Qt::BGMode backgroundMode()
- bool begin(QPaintDevice * arg0)
- void beginNativePainting()
- QRectF boundingRect(const QRectF & rect, int flags, const QString & text)
- QRect boundingRect(const QRect & rect, int flags, const QString & text)
- QRectF boundingRect(const QRectF & rect, const QString & text, const QTextOption & o = QTextOption())
- QRectF boundingRect(const QRectF & rect, const QString & text, const QTextOption & o)
- QRect boundingRect(int x, int y, int w, int h, int flags, const QString & text)
- const QBrush & brush()
- QPoint brushOrigin()
- QPainterPath clipPath()
- QRegion clipRegion()
- QMatrix combinedMatrix()
- QTransform combinedTransform()
- QPainter::CompositionMode compositionMode()
- QPaintDevice * device()
- const QMatrix & deviceMatrix()
- const QTransform & deviceTransform()
- void drawArc(const QRectF & rect, int a, int alen)
- void drawArc(const QRect & arg0, int a, int alen)
- void drawArc(int x, int y, int w, int h, int a, int alen)
- void drawChord(const QRectF & rect, int a, int alen)
- void drawChord(const QRect & arg0, int a, int alen)
- void drawChord(int x, int y, int w, int h, int a, int alen)
- void drawConvexPolygon(const QPolygonF & polygon)
- void drawConvexPolygon(const QPolygon & polygon)
- void drawConvexPolygon(const QPointF * points, int pointCount)
- void drawConvexPolygon(const QPoint * points, int pointCount)
- void drawEllipse(const QRectF & r)
- void drawEllipse(const QRect & r)
- void drawEllipse(const QPointF & center, qreal rx, qreal ry)
- void drawEllipse(const QPoint & center, int rx, int ry)
- void drawEllipse(int x, int y, int w, int h)
- void drawImage(const QRectF & r, const QImage & image)
- void drawImage(const QRect & r, const QImage & image)
- void drawImage(const QPointF & p, const QImage & image)
- void drawImage(const QPoint & p, const QImage & image)
- void drawLine(const QLineF & line)
- void drawLine(const QLine & line)
- void drawLine(const QPoint & p1, const QPoint & p2)
- void drawLine(const QPointF & p1, const QPointF & p2)
- void drawLine(int x1, int y1, int x2, int y2)
- void drawLines(const QLineF * lines, int lineCount)
- void drawLines(const QPointF * pointPairs, int lineCount)
- void drawLines(const QLine * lines, int lineCount)
- void drawLines(const QPoint * pointPairs, int lineCount)
- void drawPath(const QPainterPath & path)
- void drawPicture(const QPointF & p, const QPicture & picture)
- void drawPicture(const QPoint & p, const QPicture & picture)
- void drawPicture(int x, int y, const QPicture & picture)
- void drawPie(const QRectF & rect, int a, int alen)
- void drawPie(const QRect & arg0, int a, int alen)
- void drawPie(int x, int y, int w, int h, int a, int alen)
- void drawPixmap(const QPointF & p, const QPixmap & pm)
- void drawPixmap(const QPoint & p, const QPixmap & pm)
- void drawPixmap(const QRect & r, const QPixmap & pm)
- void drawPixmap(const QRectF & targetRect, const QPixmap & pixmap, const QRectF & sourceRect)
- void drawPixmap(const QRect & targetRect, const QPixmap & pixmap, const QRect & sourceRect)
- void drawPixmap(const QPointF & p, const QPixmap & pm, const QRectF & sr)
- void drawPixmap(const QPoint & p, const QPixmap & pm, const QRect & sr)
- void drawPixmap(int x, int y, const QPixmap & pm)
- void drawPixmap(int x, int y, int w, int h, const QPixmap & pm)
- void drawPixmap(int x, int y, const QPixmap & pm, int sx, int sy, int sw, int sh)
- void drawPixmap(int x, int y, int w, int h, const QPixmap & pm, int sx, int sy, int sw, int sh)
- void drawPoint(const QPointF & pt)
- void drawPoint(const QPoint & p)
- void drawPoint(int x, int y)
- void drawPoints(const QPolygonF & points)
- void drawPoints(const QPolygon & points)
- void drawPoints(const QPointF * points, int pointCount)
- void drawPoints(const QPoint * points, int pointCount)
- void drawPolygon(const QPolygonF & polygon, Qt::FillRule fillRule = Qt::OddEvenFill)
- void drawPolygon(const QPolygonF & polygon, Qt::FillRule fillRule)
- void drawPolygon(const QPolygon & polygon, Qt::FillRule fillRule = Qt::OddEvenFill)
- void drawPolygon(const QPolygon & polygon, Qt::FillRule fillRule)
- void drawPolygon(const QPointF * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill)
- void drawPolygon(const QPointF * points, int pointCount, Qt::FillRule fillRule)
- void drawPolygon(const QPoint * points, int pointCount, Qt::FillRule fillRule = Qt::OddEvenFill)
- void drawPolygon(const QPoint * points, int pointCount, Qt::FillRule fillRule)
- void drawPolyline(const QPolygonF & polyline)
- void drawPolyline(const QPolygon & polygon)
- void drawPolyline(const QPointF * points, int pointCount)
- void drawPolyline(const QPoint * points, int pointCount)
- void drawRect(const QRectF & rect)
- void drawRect(const QRect & rect)
- void drawRect(int x1, int y1, int w, int h)
- void drawRects(const QRectF * rects, int rectCount)
- void drawRects(const QRect * rects, int rectCount)
- void drawRoundRect(const QRectF & r, int xround, int yround = 25)
- void drawRoundRect(const QRectF & r, int xround, int yround)
- void drawRoundRect(const QRectF & r, int xround = 25, int yround = 25)
- void drawRoundRect(const QRectF & r, int xround, int yround = 25)
- void drawRoundRect(const QRect & r, int xround, int yround = 25)
- void drawRoundRect(const QRect & r, int xround, int yround)
- void drawRoundRect(const QRect & r, int xround = 25, int yround = 25)
- void drawRoundRect(const QRect & r, int xround, int yround = 25)
- void drawRoundRect(int x, int y, int w, int h, int arg4, int arg5 = 25)
- void drawRoundRect(int x, int y, int w, int h, int arg4, int arg5)
- void drawRoundRect(int x, int y, int w, int h, int arg4 = 25, int arg5 = 25)
- void drawRoundRect(int x, int y, int w, int h, int arg4, int arg5 = 25)
- void drawRoundedRect(const QRectF & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize)
- void drawRoundedRect(const QRectF & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode)
- void drawRoundedRect(const QRect & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize)
- void drawRoundedRect(const QRect & rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode)
- void drawRoundedRect(int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize)
- void drawRoundedRect(int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode)
- void drawText(const QPointF & p, const QString & s)
- void drawText(const QPoint & p, const QString & s)
- void drawText(int x, int y, const QString & s)
- void drawText(const QRectF & r, const QString & text, const QTextOption & o = QTextOption())
- void drawText(const QRectF & r, const QString & text, const QTextOption & o)
- void drawText(const QPointF & p, const QString & str, int tf, int justificationPadding)
- void drawText(const QRectF & r, int flags, const QString & text, QRectF * br = 0)
- void drawText(const QRectF & r, int flags, const QString & text, QRectF * br)
- void drawText(const QRect & r, int flags, const QString & text, QRect * br = 0)
- void drawText(const QRect & r, int flags, const QString & text, QRect * br)
- void drawText(int x, int y, int w, int h, int flags, const QString & text, QRect * br = 0)
- void drawText(int x, int y, int w, int h, int flags, const QString & text, QRect * br)
- void drawTextItem(const QPointF & p, const QTextItem & ti)
- void drawTextItem(const QPoint & p, const QTextItem & ti)
- void drawTextItem(int x, int y, const QTextItem & ti)
- void drawTiledPixmap(const QRectF & rect, const QPixmap & pm, const QPointF & offset = QPointF())
- void drawTiledPixmap(const QRectF & rect, const QPixmap & pm, const QPointF & offset)
- void drawTiledPixmap(const QRect & arg0, const QPixmap & arg1, const QPoint & arg2 = QPoint())
- void drawTiledPixmap(const QRect & arg0, const QPixmap & arg1, const QPoint & arg2)
- void drawTiledPixmap(int x, int y, int w, int h, const QPixmap & arg4, int sx, int sy = 0)
- void drawTiledPixmap(int x, int y, int w, int h, const QPixmap & arg4, int sx, int sy)
- void drawTiledPixmap(int x, int y, int w, int h, const QPixmap & arg4, int sx = 0, int sy = 0)
- void drawTiledPixmap(int x, int y, int w, int h, const QPixmap & arg4, int sx, int sy = 0)
- bool end()
- void endNativePainting()
- void eraseRect(const QRectF & arg0)
- void eraseRect(const QRect & arg0)
- void eraseRect(int x, int y, int w, int h)
- void fillPath(const QPainterPath & path, const QBrush & brush)
- void fillRect(const QRectF & arg0, const QBrush & arg1)
- void fillRect(const QRect & arg0, const QBrush & arg1)
- void fillRect(const QRectF & arg0, const QColor & color)
- void fillRect(const QRect & arg0, const QColor & color)
- void fillRect(const QRect & r, Qt::GlobalColor c)
- void fillRect(const QRectF & r, Qt::GlobalColor c)
- void fillRect(const QRect & r, Qt::BrushStyle style)
- void fillRect(const QRectF & r, Qt::BrushStyle style)
- void fillRect(int x, int y, int w, int h, const QBrush & arg4)
- void fillRect(int x, int y, int w, int h, const QColor & color)
- void fillRect(int x, int y, int w, int h, Qt::GlobalColor c)
- void fillRect(int x, int y, int w, int h, Qt::BrushStyle style)
- const QFont & font()
- QFontInfo fontInfo()
- QFontMetrics fontMetrics()
- bool hasClipping()
- void initFrom(const QWidget * widget)
- bool isActive()
- Qt::LayoutDirection layoutDirection()
- const QMatrix & matrix()
- bool matrixEnabled()
- qreal opacity()
- QPaintEngine * paintEngine()
- const QPen & pen()
- static QPaintDevice * redirected(const QPaintDevice * device, QPoint * offset = 0)
- static QPaintDevice * redirected(const QPaintDevice * device, QPoint * offset)
- void resetMatrix()
- void resetTransform()
- void restore()
- static void restoreRedirected(const QPaintDevice * device)
- void rotate(qreal a)
- void save()
- void scale(qreal sx, qreal sy)
- void setBackground(const QBrush & bg)
- void setBackgroundMode(Qt::BGMode mode)
- void setBrush(const QBrush & brush)
- void setBrush(Qt::BrushStyle style)
- void setBrushOrigin(const QPoint & arg0)
- void setBrushOrigin(const QPointF & arg0)
- void setBrushOrigin(int x, int y)
- void setClipPath(const QPainterPath & path, Qt::ClipOperation op = Qt::ReplaceClip)
- void setClipPath(const QPainterPath & path, Qt::ClipOperation op)
- void setClipRect(const QRectF & arg0, Qt::ClipOperation op = Qt::ReplaceClip)
- void setClipRect(const QRectF & arg0, Qt::ClipOperation op)
- void setClipRect(const QRect & arg0, Qt::ClipOperation op = Qt::ReplaceClip)
- void setClipRect(const QRect & arg0, Qt::ClipOperation op)
- void setClipRect(int x, int y, int w, int h, Qt::ClipOperation op = Qt::ReplaceClip)
- void setClipRect(int x, int y, int w, int h, Qt::ClipOperation op)
- void setClipRegion(const QRegion & arg0, Qt::ClipOperation op = Qt::ReplaceClip)
- void setClipRegion(const QRegion & arg0, Qt::ClipOperation op)
- void setClipping(bool enable)
- void setCompositionMode(QPainter::CompositionMode mode)
- void setFont(const QFont & f)
- void setLayoutDirection(Qt::LayoutDirection direction)
- void setMatrix(const QMatrix & matrix, bool combine = false)
- void setMatrix(const QMatrix & matrix, bool combine)
- void setMatrixEnabled(bool enabled)
- void setOpacity(qreal opacity)
- void setPen(const QColor & color)
- void setPen(const QPen & pen)
- void setPen(Qt::PenStyle style)
- static void setRedirected(const QPaintDevice * device, QPaintDevice * replacement, const QPoint & offset = QPoint())
- static void setRedirected(const QPaintDevice * device, QPaintDevice * replacement, const QPoint & offset)
- void setRenderHint(QPainter::RenderHint hint, bool on = true)
- void setRenderHint(QPainter::RenderHint hint, bool on)
- void setTransform(const QTransform & transform, bool combine = false)
- void setTransform(const QTransform & transform, bool combine)
- void setViewTransformEnabled(bool enable)
- void setViewport(const QRect & viewport)
- void setViewport(int x, int y, int w, int h)
- void setWindow(const QRect & window)
- void setWindow(int x, int y, int w, int h)
- void setWorldMatrix(const QMatrix & matrix, bool combine = false)
- void setWorldMatrix(const QMatrix & matrix, bool combine)
- void setWorldMatrixEnabled(bool enabled)
- void setWorldTransform(const QTransform & matrix, bool combine = false)
- void setWorldTransform(const QTransform & matrix, bool combine)
- void shear(qreal sh, qreal sv)
- void strokePath(const QPainterPath & path, const QPen & pen)
- bool testRenderHint(QPainter::RenderHint hint)
- const QTransform & transform()
- void translate(const QPointF & offset)
- void translate(const QPoint & offset)
- void translate(qreal dx, qreal dy)
- bool viewTransformEnabled()
- QRect viewport()
- QRect window()
- const QMatrix & worldMatrix()
- bool worldMatrixEnabled()
- const QTransform & worldTransform()
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.