QPainter

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++) extern (C++)
struct QPainter {}

Constructors

this
this()
Undocumented in source.
this
this(QPaintDevice )
Undocumented in source.
this
this(QPaintDeviceInterface dev)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

PixmapFragmentHints
alias PixmapFragmentHints = QFlags!(PixmapFragmentHint)
Undocumented in source.
RenderHints
alias RenderHints = QFlags!(RenderHint)
Undocumented in source.

Enums

CompositionMode
enum CompositionMode
Undocumented in source.
PixmapFragmentHint
enum PixmapFragmentHint
Undocumented in source.
RenderHint
enum RenderHint
Undocumented in source.

Functions

background
const(QBrush) background()
Undocumented in source.
backgroundMode
qt.core.namespace.BGMode backgroundMode()
Undocumented in source.
begin
bool begin(QPaintDevice )
Undocumented in source.
beginNativePainting
void beginNativePainting()
Undocumented in source.
boundingRect
QRectF boundingRect(const(QRectF) rect, const(QString) text, const(QTextOption) o)
Undocumented in source.
boundingRect
QRect boundingRect(int x, int y, int w, int h, int flags, const(QString) text)
Undocumented in source. Be warned that the author may not have intended to support it.
boundingRect
QRect boundingRect(const(QRect) rect, int flags, const(QString) text)
Undocumented in source.
boundingRect
QRectF boundingRect(const(QRectF) rect, int flags, const(QString) text)
Undocumented in source.
brush
const(QBrush) brush()
Undocumented in source.
brushOrigin
QPoint brushOrigin()
Undocumented in source.
clipBoundingRect
QRectF clipBoundingRect()
Undocumented in source.
clipPath
QPainterPath clipPath()
Undocumented in source.
clipRegion
QRegion clipRegion()
Undocumented in source.
combinedMatrix
QMatrix combinedMatrix()
Undocumented in source.
combinedTransform
QTransform combinedTransform()
Undocumented in source.
compositionMode
CompositionMode compositionMode()
Undocumented in source.
device
QPaintDevice device()
Undocumented in source.
deviceMatrix
const(QMatrix) deviceMatrix()
Undocumented in source.
deviceTransform
const(QTransform) deviceTransform()
Undocumented in source.
drawArc
void drawArc(int x, int y, int w, int h, int a, int alen)
Undocumented in source. Be warned that the author may not have intended to support it.
drawArc
void drawArc(const(QRect) r, int a, int alen)
Undocumented in source. Be warned that the author may not have intended to support it.
drawArc
void drawArc(const(QRectF) rect, int a, int alen)
Undocumented in source.
drawChord
void drawChord(const(QRect) rect, int a, int alen)
Undocumented in source. Be warned that the author may not have intended to support it.
drawChord
void drawChord(int x, int y, int w, int h, int a, int alen)
Undocumented in source. Be warned that the author may not have intended to support it.
drawChord
void drawChord(const(QRectF) rect, int a, int alen)
Undocumented in source.
drawConvexPolygon
void drawConvexPolygon(const(QPolygon) poly)
Undocumented in source. Be warned that the author may not have intended to support it.
drawConvexPolygon
void drawConvexPolygon(const(QPoint)* points, int pointCount)
Undocumented in source.
drawConvexPolygon
void drawConvexPolygon(const(QPolygonF) poly)
Undocumented in source. Be warned that the author may not have intended to support it.
drawConvexPolygon
void drawConvexPolygon(const(QPointF)* points, int pointCount)
Undocumented in source.
drawEllipse
void drawEllipse(const(QPoint) center, int rx, int ry)
Undocumented in source. Be warned that the author may not have intended to support it.
drawEllipse
void drawEllipse(const(QPointF) center, qreal rx, qreal ry)
Undocumented in source. Be warned that the author may not have intended to support it.
drawEllipse
void drawEllipse(int x, int y, int w, int h)
Undocumented in source. Be warned that the author may not have intended to support it.
drawEllipse
void drawEllipse(const(QRect) r)
Undocumented in source.
drawEllipse
void drawEllipse(const(QRectF) r)
Undocumented in source.
drawGlyphRun
void drawGlyphRun(const(QPointF) position, const(QGlyphRun) glyphRun)
Undocumented in source.
drawImage
void drawImage(int x, int y, const(QImage) image, int sx, int sy, int sw, int sh, qt.core.namespace.ImageConversionFlags flags)
Undocumented in source. Be warned that the author may not have intended to support it.
drawImage
void drawImage(const(QPoint) p, const(QImage) image)
Undocumented in source. Be warned that the author may not have intended to support it.
drawImage
void drawImage(const(QPointF) p, const(QImage) image)
Undocumented in source.
drawImage
void drawImage(const(QRect) r, const(QImage) image)
Undocumented in source. Be warned that the author may not have intended to support it.
drawImage
void drawImage(const(QRectF) r, const(QImage) image)
Undocumented in source. Be warned that the author may not have intended to support it.
drawImage
void drawImage(const(QPoint) p, const(QImage) image, const(QRect) sr, qt.core.namespace.ImageConversionFlags flags)
Undocumented in source. Be warned that the author may not have intended to support it.
drawImage
void drawImage(const(QPointF) p, const(QImage) image, const(QRectF) sr, qt.core.namespace.ImageConversionFlags flags)
Undocumented in source. Be warned that the author may not have intended to support it.
drawImage
void drawImage(const(QRect) targetRect, const(QImage) image, const(QRect) sourceRect, qt.core.namespace.ImageConversionFlags flags)
Undocumented in source. Be warned that the author may not have intended to support it.
drawImage
void drawImage(const(QRectF) targetRect, const(QImage) image, const(QRectF) sourceRect, qt.core.namespace.ImageConversionFlags flags)
Undocumented in source.
drawLine
void drawLine(const(QLineF) l)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLine
void drawLine(const(QLine) line)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLine
void drawLine(int x1, int y1, int x2, int y2)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLine
void drawLine(const(QPoint) p1, const(QPoint) p2)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLine
void drawLine(const(QPointF) p1, const(QPointF) p2)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLines
void drawLines(const(QVector!(QPoint)) pointPairs)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLines
void drawLines(const(QLineF)* lines, int lineCount)
Undocumented in source.
drawLines
void drawLines(const(QVector!(QLineF)) lines)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLines
void drawLines(const(QPointF)* pointPairs, int lineCount)
Undocumented in source.
drawLines
void drawLines(const(QVector!(QPointF)) pointPairs)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLines
void drawLines(const(QLine)* lines, int lineCount)
Undocumented in source.
drawLines
void drawLines(const(QVector!(QLine)) lines)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLines
void drawLines(const(QPoint)* pointPairs, int lineCount)
Undocumented in source.
drawPath
void drawPath(const(QPainterPath) path)
Undocumented in source.
drawPicture
void drawPicture(const(QPoint) pt, const(QPicture) p)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPicture
void drawPicture(int x, int y, const(QPicture) p)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPicture
void drawPicture(const(QPointF) p, const(QPicture) picture)
Undocumented in source.
drawPie
void drawPie(const(QRect) rect, int a, int alen)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPie
void drawPie(int x, int y, int w, int h, int a, int alen)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPie
void drawPie(const(QRectF) rect, int a, int alen)
Undocumented in source.
drawPixmap
void drawPixmap(int x, int y, int w, int h, const(QPixmap) pm)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPixmap
void drawPixmap(const(QRect) r, const(QPixmap) pm)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPixmap
void drawPixmap(int x, int y, const(QPixmap) pm)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPixmap
void drawPixmap(const(QPoint) p, const(QPixmap) pm)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPixmap
void drawPixmap(const(QPointF) p, const(QPixmap) pm)
Undocumented in source.
drawPixmap
void drawPixmap(const(QPoint) p, const(QPixmap) pm, const(QRect) sr)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPixmap
void drawPixmap(const(QPointF) p, const(QPixmap) pm, const(QRectF) sr)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPixmap
void drawPixmap(int x, int y, const(QPixmap) pm, int sx, int sy, int sw, int sh)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPixmap
void drawPixmap(int x, int y, int w, int h, const(QPixmap) pm, int sx, int sy, int sw, int sh)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPixmap
void drawPixmap(const(QRect) targetRect, const(QPixmap) pixmap, const(QRect) sourceRect)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPixmap
void drawPixmap(const(QRectF) targetRect, const(QPixmap) pixmap, const(QRectF) sourceRect)
Undocumented in source.
drawPixmapFragments
void drawPixmapFragments(const(PixmapFragment)* fragments, int fragmentCount, const(QPixmap) pixmap, PixmapFragmentHints hints)
Undocumented in source.
drawPoint
void drawPoint(const(QPointF) p)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPoint
void drawPoint(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPoint
void drawPoint(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPoints
void drawPoints(const(QPointF)* points, int pointCount)
Undocumented in source.
drawPoints
void drawPoints(const(QPolygonF) points)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPoints
void drawPoints(const(QPoint)* points, int pointCount)
Undocumented in source.
drawPoints
void drawPoints(const(QPolygon) points)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPolygon
void drawPolygon(const(QPolygon) polygon, qt.core.namespace.FillRule fillRule)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPolygon
void drawPolygon(const(QPoint)* points, int pointCount, qt.core.namespace.FillRule fillRule)
Undocumented in source.
drawPolygon
void drawPolygon(const(QPolygonF) polygon, qt.core.namespace.FillRule fillRule)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPolygon
void drawPolygon(const(QPointF)* points, int pointCount, qt.core.namespace.FillRule fillRule)
Undocumented in source.
drawPolyline
void drawPolyline(const(QPolygon) polyline)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPolyline
void drawPolyline(const(QPoint)* points, int pointCount)
Undocumented in source.
drawPolyline
void drawPolyline(const(QPolygonF) polyline)
Undocumented in source. Be warned that the author may not have intended to support it.
drawPolyline
void drawPolyline(const(QPointF)* points, int pointCount)
Undocumented in source.
drawRect
void drawRect(const(QRect) r)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRect
void drawRect(int x, int y, int w, int h)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRect
void drawRect(const(QRectF) rect)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRects
void drawRects(const(QVector!(QRect)) rects)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRects
void drawRects(const(QRect)* rects, int rectCount)
Undocumented in source.
drawRects
void drawRects(const(QRectF)* rects, int rectCount)
Undocumented in source.
drawRects
void drawRects(const(QVector!(QRectF)) rects)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRoundRect
void drawRoundRect(const(QRectF) r, int xround, int yround)
Undocumented in source.
drawRoundRect
void drawRoundRect(int x, int y, int w, int h, int , int )
Undocumented in source.
drawRoundRect
void drawRoundRect(const(QRect) r, int xround, int yround)
Undocumented in source.
drawRoundedRect
void drawRoundedRect(const(QRectF) rect, qreal xRadius, qreal yRadius, qt.core.namespace.SizeMode mode)
Undocumented in source.
drawRoundedRect
void drawRoundedRect(int x, int y, int w, int h, qreal xRadius, qreal yRadius, qt.core.namespace.SizeMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRoundedRect
void drawRoundedRect(const(QRect) rect, qreal xRadius, qreal yRadius, qt.core.namespace.SizeMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
drawStaticText
void drawStaticText(const(QPointF) topLeftPosition, const(QStaticText) staticText)
Undocumented in source.
drawStaticText
void drawStaticText(const(QPoint) p, const(QStaticText) staticText)
Undocumented in source. Be warned that the author may not have intended to support it.
drawStaticText
void drawStaticText(int x, int y, const(QStaticText) staticText)
Undocumented in source. Be warned that the author may not have intended to support it.
drawText
void drawText(const(QPointF) p, const(QString) s)
Undocumented in source.
drawText
void drawText(const(QPoint) p, const(QString) s)
Undocumented in source. Be warned that the author may not have intended to support it.
drawText
void drawText(int x, int y, const(QString) s)
Undocumented in source. Be warned that the author may not have intended to support it.
drawText
void drawText(const(QPointF) p, const(QString) str, int tf, int justificationPadding)
Undocumented in source.
drawText
void drawText(const(QRectF) r, int flags, const(QString) text, QRectF* br)
Undocumented in source.
drawText
void drawText(const(QRect) r, int flags, const(QString) text, QRect* br)
Undocumented in source.
drawText
void drawText(int x, int y, int w, int h, int flags, const(QString) str, QRect* br)
Undocumented in source. Be warned that the author may not have intended to support it.
drawText
void drawText(const(QRectF) r, const(QString) text, const(QTextOption) o)
Undocumented in source.
drawTextItem
void drawTextItem(const(QPointF) p, const(QTextItem) ti)
Undocumented in source.
drawTextItem
void drawTextItem(int x, int y, const(QTextItem) ti)
Undocumented in source. Be warned that the author may not have intended to support it.
drawTextItem
void drawTextItem(const(QPoint) p, const(QTextItem) ti)
Undocumented in source. Be warned that the author may not have intended to support it.
drawTiledPixmap
void drawTiledPixmap(const(QRectF) rect, const(QPixmap) pm, const(QPointF) offset)
Undocumented in source.
drawTiledPixmap
void drawTiledPixmap(int x, int y, int w, int h, const(QPixmap) pm, int sx, int sy)
Undocumented in source. Be warned that the author may not have intended to support it.
drawTiledPixmap
void drawTiledPixmap(const(QRect) rect, const(QPixmap) pm, const(QPoint) offset)
Undocumented in source. Be warned that the author may not have intended to support it.
end
bool end()
Undocumented in source.
endNativePainting
void endNativePainting()
Undocumented in source.
eraseRect
void eraseRect(const(QRectF) )
Undocumented in source.
eraseRect
void eraseRect(int x, int y, int w, int h)
Undocumented in source. Be warned that the author may not have intended to support it.
eraseRect
void eraseRect(const(QRect) rect)
Undocumented in source. Be warned that the author may not have intended to support it.
fillPath
void fillPath(const(QPainterPath) path, const(QBrush) brush)
Undocumented in source.
fillRect
void fillRect(const(QRectF) , const(QBrush) )
Undocumented in source.
fillRect
void fillRect(int x, int y, int w, int h, const(QBrush) b)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRect
void fillRect(const(QRect) , const(QBrush) )
Undocumented in source.
fillRect
void fillRect(const(QRectF) , const(QColor) color)
Undocumented in source.
fillRect
void fillRect(int x, int y, int w, int h, const(QColor) b)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRect
void fillRect(const(QRect) , const(QColor) color)
Undocumented in source.
fillRect
void fillRect(int x, int y, int w, int h, qt.core.namespace.GlobalColor c)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRect
void fillRect(const(QRect) r, qt.core.namespace.GlobalColor c)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRect
void fillRect(const(QRectF) r, qt.core.namespace.GlobalColor c)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRect
void fillRect(int x, int y, int w, int h, qt.core.namespace.BrushStyle style)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRect
void fillRect(const(QRect) r, qt.core.namespace.BrushStyle style)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRect
void fillRect(const(QRectF) r, qt.core.namespace.BrushStyle style)
Undocumented in source. Be warned that the author may not have intended to support it.
font
const(QFont) font()
Undocumented in source.
fontInfo
QFontInfo fontInfo()
Undocumented in source.
fontMetrics
QFontMetrics fontMetrics()
Undocumented in source.
hasClipping
bool hasClipping()
Undocumented in source.
initFrom
void initFrom(const(QPaintDevice) device)
Undocumented in source.
isActive
bool isActive()
Undocumented in source.
layoutDirection
qt.core.namespace.LayoutDirection layoutDirection()
Undocumented in source.
matrix
const(QMatrix) matrix()
Undocumented in source.
matrixEnabled
bool matrixEnabled()
Undocumented in source.
opacity
qreal opacity()
Undocumented in source.
paintEngine
QPaintEngine paintEngine()
Undocumented in source.
pen
const(QPen) pen()
Undocumented in source.
rawConstructor
typeof(this) rawConstructor()
Undocumented in source.
renderHints
RenderHints renderHints()
Undocumented in source.
resetMatrix
void resetMatrix()
Undocumented in source.
resetTransform
void resetTransform()
Undocumented in source.
restore
void restore()
Undocumented in source.
rotate
void rotate(qreal a)
Undocumented in source.
save
void save()
Undocumented in source.
scale
void scale(qreal sx, qreal sy)
Undocumented in source.
setBackground
void setBackground(const(QBrush) bg)
Undocumented in source.
setBackgroundMode
void setBackgroundMode(qt.core.namespace.BGMode mode)
Undocumented in source.
setBrush
void setBrush(qt.core.namespace.BrushStyle style)
Undocumented in source.
setBrush
void setBrush(const(QBrush) brush)
Undocumented in source.
setBrushOrigin
void setBrushOrigin(const(QPointF) )
Undocumented in source.
setBrushOrigin
void setBrushOrigin(const(QPoint) p)
Undocumented in source. Be warned that the author may not have intended to support it.
setBrushOrigin
void setBrushOrigin(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
setClipPath
void setClipPath(const(QPainterPath) path, qt.core.namespace.ClipOperation op)
Undocumented in source.
setClipRect
void setClipRect(int x, int y, int w, int h, qt.core.namespace.ClipOperation op)
Undocumented in source. Be warned that the author may not have intended to support it.
setClipRect
void setClipRect(const(QRect) , qt.core.namespace.ClipOperation op)
Undocumented in source.
setClipRect
void setClipRect(const(QRectF) , qt.core.namespace.ClipOperation op)
Undocumented in source.
setClipRegion
void setClipRegion(const(QRegion) , qt.core.namespace.ClipOperation op)
Undocumented in source.
setClipping
void setClipping(bool enable)
Undocumented in source.
setCompositionMode
void setCompositionMode(CompositionMode mode)
Undocumented in source.
setFont
void setFont(const(QFont) f)
Undocumented in source.
setLayoutDirection
void setLayoutDirection(qt.core.namespace.LayoutDirection direction)
Undocumented in source.
setMatrix
void setMatrix(const(QMatrix) matrix, bool combine)
Undocumented in source.
setMatrixEnabled
void setMatrixEnabled(bool enabled)
Undocumented in source.
setOpacity
void setOpacity(qreal opacity)
Undocumented in source.
setPen
void setPen(qt.core.namespace.PenStyle style)
Undocumented in source.
setPen
void setPen(const(QPen) pen)
Undocumented in source.
setPen
void setPen(const(QColor) color)
Undocumented in source.
setRenderHint
void setRenderHint(RenderHint hint, bool on)
Undocumented in source.
setRenderHints
void setRenderHints(RenderHints hints, bool on)
Undocumented in source.
setTransform
void setTransform(const(QTransform) transform, bool combine)
Undocumented in source.
setViewTransformEnabled
void setViewTransformEnabled(bool enable)
Undocumented in source.
setViewport
void setViewport(int x, int y, int w, int h)
Undocumented in source. Be warned that the author may not have intended to support it.
setViewport
void setViewport(const(QRect) viewport)
Undocumented in source.
setWindow
void setWindow(int x, int y, int w, int h)
Undocumented in source. Be warned that the author may not have intended to support it.
setWindow
void setWindow(const(QRect) window)
Undocumented in source.
setWorldMatrix
void setWorldMatrix(const(QMatrix) matrix, bool combine)
Undocumented in source.
setWorldMatrixEnabled
void setWorldMatrixEnabled(bool enabled)
Undocumented in source.
setWorldTransform
void setWorldTransform(const(QTransform) matrix, bool combine)
Undocumented in source.
shear
void shear(qreal sh, qreal sv)
Undocumented in source.
strokePath
void strokePath(const(QPainterPath) path, const(QPen) pen)
Undocumented in source.
testRenderHint
bool testRenderHint(RenderHint hint)
Undocumented in source. Be warned that the author may not have intended to support it.
transform
const(QTransform) transform()
Undocumented in source.
translate
void translate(qreal dx, qreal dy)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void translate(const(QPoint) offset)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void translate(const(QPointF) offset)
Undocumented in source.
viewTransformEnabled
bool viewTransformEnabled()
Undocumented in source.
viewport
QRect viewport()
Undocumented in source.
window
QRect window()
Undocumented in source.
worldMatrix
const(QMatrix) worldMatrix()
Undocumented in source.
worldMatrixEnabled
bool worldMatrixEnabled()
Undocumented in source.
worldTransform
const(QTransform) worldTransform()
Undocumented in source.

Static functions

create
typeof(this) create()
Undocumented in source. Be warned that the author may not have intended to support it.
redirected
QPaintDevice redirected(const(QPaintDevice) device, QPoint* offset)
Undocumented in source.
restoreRedirected
void restoreRedirected(const(QPaintDevice) device)
Undocumented in source.
setRedirected
void setRedirected(const(QPaintDevice) device, QPaintDevice replacement, const(QPoint) offset)
Undocumented in source.

Structs

PixmapFragment
struct PixmapFragment
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Meta