NAME
QPainter - Interface to the Qt QPainter class
SYNOPSIS
use QPainter;
Requires QColor, QBrush, QFont, QFontInfo, QFontMetrics, QPaintDevice, QPen, QPicture, QPixmap, QPoint, QPointArray, QRect, QRegion, QWMatrix
Member functions
new, backgroundColor, backgroundMode, begin, boundingRect, brush, brushOrigin, clipRegion, device, drawArc, drawChord, drawEllipse, drawLine, drawLineSegments, drawPicture, drawPie, drawPixmap, drawPoint, drawPolygon, drawPolyline, drawQuadBezier, drawRect, drawRoundRect, drawText, drawWinFocusRect, end, eraseRect, fillRect, flush, font, fontInfo, fontMetrics, hasClipping, hasViewXForm, hasWorldXForm, isActive, lineTo, moveTo, pen, rasterOp, redirect, resetXForm, restore, rotate, save, scale, setBackgroundColor, setBackgroundMode, setBrush, setBrushOrigin, setClipping, setClipRect, setClipRegion, setFont, setPen, setRasterOp, setTabStops, setViewXForm, setViewport, setWindow, setWorldMatrix, setWorldXForm, shear, tabStops, translate, viewport, window, worldMatrix, xForm, xFormDev
DESCRIPTION
All functions listed have every prototype version supported, mostly. Any internal arguments are unavailable to PerlQt programmers.
EXPORTED
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.
NOTES
tabArray and setTabArray are not interfaced yet, sorry.
SEE ALSO
qpainter(3qt), QColor(3), QBrush(3), QFont(3), QPen(3)
AUTHOR
Ashley Winters <jql@accessone.com>