Ashley Winters > Qt > QPainter

Download:
Qt-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.03   Source  

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, 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

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.

SEE ALSO ^

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

AUTHOR ^

Ashley Winters <jql@accessone.com>