
QPainter - Interface to the Qt QPainter class

use QPainter;
Requires QColor, QBrush, QFont, QFontInfo, QFontMetrics, QPaintDevice, QPen, QPicture, QPixmap, QPoint, QPointArray, QRect, QRegion, QWMatrix
new, backgroundColor, backgroundMode, begin, boundingRect, brushOrigin, clipRegion, device, drawArc, drawChord, drawEllipse, drawLine, drawLineSegments, drawPie, drawPixmap, drawPoint, drawPolygon, drawPolyline, drawQuadBezier, drawRect, drawRoundRect, drawText, drawWinFocusRect, end, eraseRect, fillRect, font, fontInfo, fontMetrics, hasClipping, hasViewXForm, hasWorldXForm, isActive, lineTo, moveTo, pen, rasterOp, resetXForm, restore, rotate, save, scale, setBackgroundColor, setBackgroundMode, setBrush, setBrushOrigin, setClipping, setClipRect, setClipRegion, setFont, setPen, setRasterOp, setViewXForm, setViewport, setWindow, setWorldMatrix, setWorldXForm, shear, translate, viewport, window, worldMatrix, xForm, xFormDev

All functions listed have every prototype version supported, mostly. Any internal arguments are unavailable to PerlQt programmers.

The following variables are exported into the user's namespace on behalf of QPainter::drawText() from qwindefs.h
%Align $SingleLine $DontClip $ExpandTabs $ShowPrefix $WordBreak $GrayText $DontPrint
The %BGMode and %RasterOp hashes are also exported.
%BGMode contains the values in the BGMode enum in qpainter.h without the trailing Mode,
and %RasterOp contains the values in the RasterOp enum in qwindefs.h without the trailing ROP.

qpainter(3qt), QColor(3), QBrush(3), QFont(3), QPen(3)

Ashley Winters <jql@accessone.com>