Qt 4.8
|
#include <qpainter_p.h>
Public Types | |
enum | DrawOperation { StrokeDraw = 0x1, FillDraw = 0x2, StrokeAndFillDraw = 0x3 } |
Public Functions | |
void | checkEmulation () |
void | detachPainterPrivate (QPainter *q) |
void | draw_helper (const QPainterPath &path, DrawOperation operation=StrokeAndFillDraw) |
void | drawGlyphs (const quint32 *glyphArray, QFixedPoint *positionArray, int glyphCount, const QRawFont &font, bool overline=false, bool underline=false, bool strikeOut=false) |
void | drawOpaqueBackground (const QPainterPath &path, DrawOperation operation) |
void | drawStretchedGradient (const QPainterPath &path, DrawOperation operation) |
QPainterDummyState * | fakeState () const |
QPainterPrivate (QPainter *painter) | |
int | rectSubtraction () const |
void | updateEmulationSpecifier (QPainterState *s) |
void | updateInvMatrix () |
void | updateMatrix () |
void | updateState (QPainterState *state) |
void | updateStateImpl (QPainterState *state) |
QTransform | viewTransform () const |
~QPainterPrivate () | |
Static Public Functions | |
static bool | attachPainterPrivate (QPainter *q, QPaintDevice *pdev) |
static QPainterPrivate * | get (QPainter *painter) |
Definition at line 188 of file qpainter_p.h.
Enumerator | |
---|---|
StrokeDraw | |
FillDraw | |
StrokeAndFillDraw |
Definition at line 215 of file qpainter_p.h.
|
inline |
Definition at line 192 of file qpainter_p.h.
Referenced by detachPainterPrivate().
QPainterPrivate::~QPainterPrivate | ( | ) |
Definition at line 213 of file qpainter.cpp.
|
static |
Definition at line 240 of file qpainter.cpp.
Referenced by QPainter::begin(), and QPainter::QPainter().
void QPainterPrivate::checkEmulation | ( | ) |
Definition at line 182 of file qpainter.cpp.
void QPainterPrivate::detachPainterPrivate | ( | QPainter * | q | ) |
Definition at line 328 of file qpainter.cpp.
Referenced by QPainter::~QPainter().
void QPainterPrivate::draw_helper | ( | const QPainterPath & | path, |
DrawOperation | operation = StrokeAndFillDraw |
||
) |
Definition at line 355 of file qpainter.cpp.
Referenced by qt_draw_helper().
void QPainterPrivate::drawGlyphs | ( | const quint32 * | glyphArray, |
QFixedPoint * | positionArray, | ||
int | glyphCount, | ||
const QRawFont & | font, | ||
bool | overline = false , |
||
bool | underline = false , |
||
bool | strikeOut = false |
||
) |
Definition at line 6101 of file qpainter.cpp.
void QPainterPrivate::drawOpaqueBackground | ( | const QPainterPath & | path, |
DrawOperation | operation | ||
) |
Definition at line 512 of file qpainter.cpp.
Referenced by draw_helper().
void QPainterPrivate::drawStretchedGradient | ( | const QPainterPath & | path, |
DrawOperation | operation | ||
) |
Definition at line 547 of file qpainter.cpp.
Referenced by draw_helper().
|
inline |
Definition at line 220 of file qpainter_p.h.
|
inlinestatic |
Definition at line 249 of file qpainter_p.h.
Referenced by QDeclarativeTextLayout::draw().
|
inline |
Definition at line 243 of file qpainter_p.h.
void QPainterPrivate::updateEmulationSpecifier | ( | QPainterState * | s | ) |
Definition at line 689 of file qpainter.cpp.
Referenced by updateStateImpl().
void QPainterPrivate::updateInvMatrix | ( | ) |
Definition at line 680 of file qpainter.cpp.
Referenced by QPainter::clipBoundingRect(), QPainter::clipPath(), and QPainter::clipRegion().
void QPainterPrivate::updateMatrix | ( | ) |
Definition at line 662 of file qpainter.cpp.
Referenced by attachPainterPrivate().
void QPainterPrivate::updateState | ( | QPainterState * | state | ) |
Definition at line 926 of file qpainter.cpp.
Referenced by draw_helper(), and drawStretchedGradient().
void QPainterPrivate::updateStateImpl | ( | QPainterState * | state | ) |
Definition at line 894 of file qpainter.cpp.
Referenced by updateState().
QTransform QPainterPrivate::viewTransform | ( | ) | const |
Definition at line 224 of file qpainter.cpp.
Referenced by updateMatrix().
QBrush QPainterPrivate::colorBrush |
Definition at line 264 of file qpainter_p.h.
QPainterPrivate** QPainterPrivate::d_ptrs |
Definition at line 202 of file qpainter_p.h.
Referenced by attachPainterPrivate(), detachPainterPrivate(), and QPainter::~QPainter().
uint QPainterPrivate::d_ptrs_size |
Definition at line 212 of file qpainter_p.h.
Referenced by attachPainterPrivate().
QPaintDevice* QPainterPrivate::device |
Definition at line 258 of file qpainter_p.h.
Referenced by draw_helper(), and qt_cleanup_painter_state().
|
mutable |
Definition at line 207 of file qpainter_p.h.
Referenced by ~QPainterPrivate().
QEmulationPaintEngine* QPainterPrivate::emulationEngine |
Definition at line 262 of file qpainter_p.h.
Referenced by checkEmulation(), detachPainterPrivate(), and ~QPainterPrivate().
QPaintEngine* QPainterPrivate::engine |
Definition at line 261 of file qpainter_p.h.
Referenced by attachPainterPrivate(), QPainter::begin(), draw_helper(), drawStretchedGradient(), qt_cleanup_painter_state(), updateEmulationSpecifier(), updateState(), and updateStateImpl().
QPaintEngineEx* QPainterPrivate::extended |
Definition at line 263 of file qpainter_p.h.
Referenced by checkEmulation(), detachPainterPrivate(), QDeclarativeTextLayout::draw(), draw_helper(), and updateMatrix().
QPaintDevice* QPainterPrivate::helper_device |
Definition at line 260 of file qpainter_p.h.
Referenced by draw_helper(), and drawStretchedGradient().
uint QPainterPrivate::inDestructor |
Definition at line 211 of file qpainter_p.h.
Referenced by detachPainterPrivate(), and QPainter::~QPainter().
QTransform QPainterPrivate::invMatrix |
Definition at line 209 of file qpainter_p.h.
Referenced by draw_helper(), and updateInvMatrix().
QPaintDevice* QPainterPrivate::original_device |
Definition at line 259 of file qpainter_p.h.
QPainter* QPainterPrivate::q_ptr |
Definition at line 201 of file qpainter_p.h.
uint QPainterPrivate::refcount |
Definition at line 213 of file qpainter_p.h.
Referenced by attachPainterPrivate(), detachPainterPrivate(), and QPainter::~QPainter().
QPainterState* QPainterPrivate::state |
Definition at line 204 of file qpainter_p.h.
Referenced by attachPainterPrivate(), checkEmulation(), QDeclarativeTextLayout::draw(), draw_helper(), drawOpaqueBackground(), drawStretchedGradient(), QPaintEngineExPrivate::hasClipOperations(), qt_cleanup_painter_state(), QPaintEngineExPrivate::replayClipOperations(), updateEmulationSpecifier(), updateInvMatrix(), updateMatrix(), and viewTransform().
QVector<QPainterState*> QPainterPrivate::states |
Definition at line 205 of file qpainter_p.h.
Referenced by qt_cleanup_painter_state(), and ~QPainterPrivate().
uint QPainterPrivate::txinv |
Definition at line 210 of file qpainter_p.h.
Referenced by draw_helper(), updateInvMatrix(), and updateMatrix().