QtBase
v6.3.1
|
#include <qpainter_p.h>
Classes | |
struct | QPaintEngineDestructor |
struct | SmallStack |
Public Types | |
enum | DrawOperation { StrokeDraw = 0x1 , FillDraw = 0x2 , StrokeAndFillDraw = 0x3 } |
Static Public Member Functions | |
static QPainterPrivate * | get (QPainter *painter) |
static bool | attachPainterPrivate (QPainter *q, QPaintDevice *pdev) |
Public Attributes | |
QPainter * | q_ptr |
QVarLengthArray< QPainterPrivate *, NDPtrs > | d_ptrs |
std::unique_ptr< QPainterState > | state |
SmallStack< std::unique_ptr< QPainterState > > | savedStates |
std::unique_ptr< QPainterDummyState > | dummyState |
QTransform | invMatrix |
uint | txinv:1 |
uint | inDestructor: 1 |
uint | refcount = 1 |
QPaintDevice * | device = nullptr |
QPaintDevice * | original_device = nullptr |
QPaintDevice * | helper_device = nullptr |
std::unique_ptr< QPaintEngine, QPaintEngineDestructor > | engine |
std::unique_ptr< QEmulationPaintEngine > | emulationEngine |
QPaintEngineEx * | extended = nullptr |
QBrush | colorBrush |
Static Public Attributes | |
static constexpr qsizetype | NDPtrs = 4 |
Definition at line 193 of file qpainter_p.h.
Enumerator | |
---|---|
StrokeDraw | |
FillDraw | |
StrokeAndFillDraw |
Definition at line 221 of file qpainter_p.h.
|
explicit |
|
default |
|
static |
Definition at line 270 of file qpainter.cpp.
void QPainterPrivate::checkEmulation | ( | ) |
Definition at line 204 of file qpainter.cpp.
void QPainterPrivate::draw_helper | ( | const QPainterPath & | path, |
DrawOperation | operation = StrokeAndFillDraw |
||
) |
void QPainterPrivate::drawGlyphs | ( | const QPointF & | decorationPosition, |
const quint32 * | glyphArray, | ||
QFixedPoint * | positionArray, | ||
int | glyphCount, | ||
QFontEngine * | fontEngine, | ||
bool | overline = false , |
||
bool | underline = false , |
||
bool | strikeOut = false |
||
) |
Definition at line 5345 of file qpainter.cpp.
void QPainterPrivate::drawOpaqueBackground | ( | const QPainterPath & | path, |
DrawOperation | operation | ||
) |
void QPainterPrivate::drawStretchedGradient | ( | const QPainterPath & | path, |
DrawOperation | operation | ||
) |
Definition at line 544 of file qpainter.cpp.
qreal QPainterPrivate::effectiveDevicePixelRatio | ( | ) | const |
Definition at line 251 of file qpainter.cpp.
|
inline |
Definition at line 226 of file qpainter_p.h.
|
inlinestatic |
QTransform QPainterPrivate::hidpiScaleTransform | ( | ) | const |
Definition at line 260 of file qpainter.cpp.
void QPainterPrivate::initFrom | ( | const QPaintDevice * | device | ) |
void QPainterPrivate::updateEmulationSpecifier | ( | QPainterState * | s | ) |
Definition at line 688 of file qpainter.cpp.
void QPainterPrivate::updateInvMatrix | ( | ) |
Definition at line 679 of file qpainter.cpp.
void QPainterPrivate::updateMatrix | ( | ) |
void QPainterPrivate::updateState | ( | QPainterState * | state | ) |
Definition at line 925 of file qpainter.cpp.
|
inline |
Definition at line 235 of file qpainter_p.h.
void QPainterPrivate::updateStateImpl | ( | QPainterState * | state | ) |
Definition at line 893 of file qpainter.cpp.
QTransform QPainterPrivate::viewTransform | ( | ) | const |
QBrush QPainterPrivate::colorBrush |
Definition at line 280 of file qpainter_p.h.
QVarLengthArray<QPainterPrivate*, NDPtrs> QPainterPrivate::d_ptrs |
Definition at line 205 of file qpainter_p.h.
QPaintDevice* QPainterPrivate::device = nullptr |
Definition at line 265 of file qpainter_p.h.
|
mutable |
Definition at line 214 of file qpainter_p.h.
std::unique_ptr<QEmulationPaintEngine> QPainterPrivate::emulationEngine |
Definition at line 278 of file qpainter_p.h.
std::unique_ptr<QPaintEngine, QPaintEngineDestructor> QPainterPrivate::engine |
Definition at line 276 of file qpainter_p.h.
QPaintEngineEx* QPainterPrivate::extended = nullptr |
Definition at line 279 of file qpainter_p.h.
QPaintDevice* QPainterPrivate::helper_device = nullptr |
Definition at line 267 of file qpainter_p.h.
uint QPainterPrivate::inDestructor |
Definition at line 218 of file qpainter_p.h.
QTransform QPainterPrivate::invMatrix |
Definition at line 216 of file qpainter_p.h.
|
staticconstexpr |
Definition at line 204 of file qpainter_p.h.
QPaintDevice* QPainterPrivate::original_device = nullptr |
Definition at line 266 of file qpainter_p.h.
QPainter* QPainterPrivate::q_ptr |
Definition at line 200 of file qpainter_p.h.
uint QPainterPrivate::refcount = 1 |
Definition at line 219 of file qpainter_p.h.
SmallStack<std::unique_ptr<QPainterState> > QPainterPrivate::savedStates |
Definition at line 212 of file qpainter_p.h.
std::unique_ptr<QPainterState> QPainterPrivate::state |
Definition at line 207 of file qpainter_p.h.
uint QPainterPrivate::txinv |
Definition at line 217 of file qpainter_p.h.