Qt 4.8
|
#include <qpainter_p.h>
Public Functions | |
void | init (QPainter *p) |
QPainterState () | |
QPainterState (const QPainterState *s) | |
virtual | ~QPainterState () |
Public Functions inherited from QPaintEngineState | |
QBrush | backgroundBrush () const |
Returns the background brush in the current paint engine state. More... | |
Qt::BGMode | backgroundMode () const |
Returns the background mode in the current paint engine state. More... | |
QBrush | brush () const |
Returns the brush in the current paint engine state. More... | |
bool | brushNeedsResolving () const |
Returns whether the coordinate of the fill have been specified as bounded by the current rendering operation and have to be resolved (about the currently rendered primitive). More... | |
QPointF | brushOrigin () const |
Returns the brush origin in the current paint engine state. More... | |
Qt::ClipOperation | clipOperation () const |
Returns the clip operation in the current paint engine state. More... | |
QPainterPath | clipPath () const |
Returns the clip path in the current paint engine state. More... | |
QRegion | clipRegion () const |
Returns the clip region in the current paint engine state. More... | |
QPainter::CompositionMode | compositionMode () const |
Returns the composition mode in the current paint engine state. More... | |
QFont | font () const |
Returns the font in the current paint engine state. More... | |
bool | isClipEnabled () const |
Returns whether clipping is enabled or not in the current paint engine state. More... | |
QMatrix | matrix () const |
Returns the matrix in the current paint engine state. More... | |
qreal | opacity () const |
Returns the opacity in the current paint engine state. More... | |
QPainter * | painter () const |
Returns a pointer to the painter currently updating the paint engine. More... | |
QPen | pen () const |
Returns the pen in the current paint engine state. More... | |
bool | penNeedsResolving () const |
Returns whether the coordinate of the stroke have been specified as bounded by the current rendering operation and have to be resolved (about the currently rendered primitive). More... | |
QPainter::RenderHints | renderHints () const |
Returns the render hints in the current paint engine state. More... | |
QPaintEngine::DirtyFlags | state () const |
Returns a combination of flags identifying the set of properties that need to be updated when updating the paint engine's state (i. More... | |
QTransform | transform () const |
Returns the matrix in the current paint engine state. More... | |
Public Variables | |
QBrush | bgBrush |
Qt::BGMode | bgMode |
QBrush | brush |
QPointF | brushOrigin |
uint | changeFlags |
uint | clipEnabled:1 |
QList< QPainterClipInfo > | clipInfo |
Qt::ClipOperation | clipOperation |
QPainterPath | clipPath |
QRegion | clipRegion |
QPainter::CompositionMode | composition_mode |
QFont | deviceFont |
uint | emulationSpecifier |
QFont | font |
Qt::LayoutDirection | layoutDirection |
QTransform | matrix |
qreal | opacity |
QPainter * | painter |
QPen | pen |
QTransform | redirectionMatrix |
QPainter::RenderHints | renderHints |
int | vh |
int | vw |
int | vx |
uint | VxF:1 |
int | vy |
int | wh |
QTransform | worldMatrix |
int | ww |
int | wx |
uint | WxF:1 |
int | wy |
Additional Inherited Members | |
Protected Variables inherited from QPaintEngineState | |
QPaintEngine::DirtyFlags | dirtyFlags |
Definition at line 141 of file qpainter_p.h.
QPainterState::QPainterState | ( | ) |
Definition at line 8753 of file qpainter.cpp.
QPainterState::QPainterState | ( | const QPainterState * | s | ) |
Definition at line 8735 of file qpainter.cpp.
|
virtual |
Definition at line 8766 of file qpainter.cpp.
void QPainterState::init | ( | QPainter * | p | ) |
Definition at line 8770 of file qpainter.cpp.
Referenced by QRasterBuffer::QRasterBuffer().
QBrush QPainterState::bgBrush |
Definition at line 154 of file qpainter_p.h.
Referenced by QPaintEngineState::backgroundBrush(), QPainterPrivate::draw_helper(), QPainterPrivate::drawOpaqueBackground(), QEmulationPaintEngine::fill(), init(), and QEmulationPaintEngine::stroke().
Qt::BGMode QPainterState::bgMode |
Definition at line 171 of file qpainter_p.h.
Referenced by QPaintEngineState::backgroundMode(), QPaintBufferEngine::backgroundModeChanged(), QPainterPrivate::checkEmulation(), QPainterPrivate::draw_helper(), QEmulationPaintEngine::fill(), init(), QEmulationPaintEngine::stroke(), and QPainterPrivate::updateEmulationSpecifier().
QBrush QPainterState::brush |
Definition at line 153 of file qpainter_p.h.
Referenced by QRasterPaintEngine::begin(), QVGPaintEngine::beginNativePainting(), QRasterPaintEngine::brushChanged(), QPaintBufferEngine::brushChanged(), QPainterPrivate::checkEmulation(), QVGPaintEngine::draw(), QPaintEngineEx::draw(), QPainterPrivate::draw_helper(), QVGPaintEngine::drawEllipse(), QPainterPrivate::drawOpaqueBackground(), QVGPaintEngine::drawPath(), QVGPaintEngine::drawPolygon(), QDirectFBPaintEngine::drawRects(), QVGPaintEngine::drawRects(), QRasterPaintEngine::drawRects(), QVGPaintEngine::drawRoundedRect(), QPainterPrivate::drawStretchedGradient(), QOpenGLPaintEngine::opacityChanged(), rasterFallbackWarn(), QBlitterPaintEnginePrivate::updateBrushState(), and QPainterPrivate::updateEmulationSpecifier().
QPointF QPainterState::brushOrigin |
Definition at line 149 of file qpainter_p.h.
Referenced by QRasterPaintEnginePrivate::brushMatrix(), QVGPaintEngine::brushOriginChanged(), QRasterPaintEngine::brushOriginChanged(), QPaintBufferEngine::brushOriginChanged(), QPainterPrivate::draw_helper(), QBlitterPaintEngine::fillRect(), QDirectFBPaintEngine::fillRect(), QOpenGLPaintEngine::opacityChanged(), and QGL2PaintEngineExPrivate::updateBrushUniforms().
uint QPainterState::changeFlags |
Definition at line 176 of file qpainter_p.h.
Referenced by init(), QPainter::restore(), and QPainterPrivate::updateStateImpl().
uint QPainterState::clipEnabled |
Definition at line 169 of file qpainter_p.h.
Referenced by QVGPaintEngine::clearRect(), QVGPaintEngine::clipEnabledChanged(), QRasterPaintEngine::clipEnabledChanged(), QPaintBufferEngine::clipEnabledChanged(), init(), QPaintEngineState::isClipEnabled(), and QVGPaintEngine::updateScissor().
QList<QPainterClipInfo> QPainterState::clipInfo |
Definition at line 159 of file qpainter_p.h.
Referenced by QPainterPrivate::draw_helper(), QPaintEngineExPrivate::hasClipOperations(), init(), and QPaintEngineExPrivate::replayClipOperations().
Qt::ClipOperation QPainterState::clipOperation |
Definition at line 157 of file qpainter_p.h.
Referenced by QVGPaintEngine::clearRect(), QVGPaintEngine::clipEnabledChanged(), and QPainter::restore().
QPainterPath QPainterState::clipPath |
Definition at line 156 of file qpainter_p.h.
Referenced by QPainter::restore().
QRegion QPainterState::clipRegion |
Definition at line 155 of file qpainter_p.h.
Referenced by QPainter::restore().
QPainter::CompositionMode QPainterState::composition_mode |
Definition at line 174 of file qpainter_p.h.
Referenced by QRasterPaintEngine::begin(), QPaintEngineState::compositionMode(), QVGPaintEngine::compositionModeChanged(), QRasterPaintEngine::compositionModeChanged(), QPaintBufferEngine::compositionModeChanged(), QRasterPaintEngine::drawImage(), QGL2PaintEngineEx::drawStaticTextItem(), QGL2PaintEngineEx::drawTextItem(), QRasterPaintEngine::fillRect(), init(), QDirectFBPaintEnginePrivate::prepareForDraw(), QGL2PaintEngineExPrivate::prepareForDraw(), QRasterPaintEngine::setState(), QOpenGLPaintEngine::state(), QRasterPaintEngine::updateBrush(), QGL2PaintEngineExPrivate::updateCompositionMode(), QBlitterPaintEnginePrivate::updateCompositionModeState(), QPainterPrivate::updateEmulationSpecifier(), QRasterPaintEngine::updatePen(), and QRasterPaintEngine::updateState().
QFont QPainterState::deviceFont |
Definition at line 151 of file qpainter_p.h.
Referenced by init().
uint QPainterState::emulationSpecifier |
Definition at line 175 of file qpainter_p.h.
Referenced by QPainterPrivate::draw_helper(), init(), and QPainterPrivate::updateEmulationSpecifier().
QFont QPainterState::font |
Definition at line 150 of file qpainter_p.h.
Qt::LayoutDirection QPainterState::layoutDirection |
Definition at line 173 of file qpainter_p.h.
Referenced by init().
QTransform QPainterState::matrix |
Definition at line 161 of file qpainter_p.h.
Referenced by QPainterPrivate::attachPainterPrivate(), QDirectFBPaintEnginePrivate::blit(), QRasterPaintEnginePrivate::brushMatrix(), QGL2PaintEngineEx::clip(), QRasterPaintEngine::clip(), QDeclarativeTextLayout::draw(), QPainterPrivate::draw_helper(), QGL2PaintEngineExPrivate::drawCachedGlyphs(), QRasterPaintEngine::drawCachedGlyphs(), QRasterPaintEngine::drawEllipse(), QDirectFBPaintEngine::drawImage(), QRasterPaintEngine::drawImage(), QBlitterPaintEngine::drawPixmap(), QDirectFBPaintEngine::drawPixmap(), QRasterPaintEngine::drawPixmap(), QEmulationPaintEngine::drawPixmapFragments(), QPaintEngineEx::drawPixmapFragments(), QRasterPaintEngine::drawRects(), QGL2PaintEngineEx::drawStaticTextItem(), QGL2PaintEngineEx::drawTextItem(), QRasterPaintEngine::drawTextItem(), QDirectFBPaintEngine::drawTiledPixmap(), QDirectFBPaintEnginePrivate::drawTiledPixmap(), QRasterPaintEngine::drawTiledPixmap(), QRasterPaintEngine::fill(), QRasterPaintEngine::fillPath(), QBlitterPaintEngine::fillRect(), QDirectFBPaintEngine::fillRect(), QRasterPaintEngine::fillRect(), QRasterPaintEnginePrivate::getPenFunc(), QPaintEngineState::matrix(), QBlittablePixmapData::paintEngine(), rasterFallbackWarn(), QRasterPaintEnginePrivate::recalculateFastImages(), QGL2PaintEngineExPrivate::resetClipIfNeeded(), QPainter::restore(), QPaintBufferEngine::setState(), QPaintEngineEx::stroke(), QRasterPaintEngine::stroke(), QPaintEngineState::transform(), QRasterPaintEngine::transformChanged(), QPaintBufferEngine::transformChanged(), QGL2PaintEngineExPrivate::updateBrushUniforms(), QPainterPrivate::updateEmulationSpecifier(), QPainterPrivate::updateInvMatrix(), QRasterPaintEngine::updateMatrix(), QGL2PaintEngineExPrivate::updateMatrix(), QPainterPrivate::updateMatrix(), QRasterPaintEngine::updatePen(), QRasterPaintEngine::updateState(), and QBlitterPaintEnginePrivate::updateTransformState().
qreal QPainterState::opacity |
Definition at line 165 of file qpainter_p.h.
Referenced by QVGPaintEngine::clearRect(), QPainterPrivate::draw_helper(), QEmulationPaintEngine::drawPixmapFragments(), QPaintEngineEx::drawPixmapFragments(), QGL2PaintEngineExPrivate::drawTexture(), QOpenGLPaintEngine::opacityChanged(), QVGPaintEngine::opacityChanged(), QRasterPaintEngine::opacityChanged(), QPaintBufferEngine::opacityChanged(), QGL2PaintEngineExPrivate::prepareForDraw(), QDirectFBPaintEngine::setState(), QGL2PaintEngineExPrivate::stroke(), QGL2PaintEngineExPrivate::updateBrushUniforms(), QPainterPrivate::updateEmulationSpecifier(), and QBlitterPaintEnginePrivate::updateOpacityState().
QPainter* QPainterState::painter |
Definition at line 172 of file qpainter_p.h.
Referenced by QPainterPrivate::updateStateImpl().
QPen QPainterState::pen |
Definition at line 152 of file qpainter_p.h.
Referenced by QRasterPaintEngine::begin(), QVGPaintEngine::beginNativePainting(), QPainterPrivate::checkEmulation(), QDeclarativeTextLayout::draw(), QVGPaintEngine::draw(), QPaintEngineEx::draw(), QPainterPrivate::draw_helper(), QVGPaintEngine::drawEllipse(), QDirectFBPaintEngine::drawLines(), QVGPaintEngine::drawLines(), QPainterPrivate::drawOpaqueBackground(), QVGPaintEngine::drawPath(), QRasterPaintEngine::drawPixmap(), QDirectFBPaintEngine::drawPoints(), QVGPaintEngine::drawPoints(), QPaintEngineEx::drawPoints(), QVGPaintEngine::drawPolygon(), QDirectFBPaintEngine::drawRects(), QVGPaintEngine::drawRects(), QRasterPaintEngine::drawRects(), QVGPaintEngine::drawRoundedRect(), QPaintEngineEx::drawStaticTextItem(), QPainterPrivate::drawStretchedGradient(), QEmulationPaintEngine::drawTextItem(), QGL2PaintEngineExPrivate::drawTexture(), QRasterPaintEngine::drawTiledPixmap(), QOpenGLPaintEngine::opacityChanged(), QVGPaintEngine::penChanged(), QPaintBufferEngine::penChanged(), rasterFallbackWarn(), QPainterPrivate::rectSubtraction(), QDirectFBPaintEnginePrivate::setRenderHints(), QDirectFBPaintEngine::setState(), QDirectFBPaintEnginePrivate::setTransform(), QPainterPrivate::updateEmulationSpecifier(), QRasterPaintEngine::updatePen(), QBlitterPaintEnginePrivate::updatePenState(), and QPainterPrivate::updateState().
QTransform QPainterState::redirectionMatrix |
Definition at line 162 of file qpainter_p.h.
Referenced by QPainterPrivate::attachPainterPrivate(), and QPainterPrivate::updateMatrix().
QPainter::RenderHints QPainterState::renderHints |
Definition at line 158 of file qpainter_p.h.
Referenced by QPainterPrivate::draw_helper(), QRasterPaintEngine::drawImage(), QPaintEngineEx::drawStaticTextItem(), QRasterPaintEnginePrivate::recalculateFastImages(), QVGPaintEngine::renderHintsChanged(), QRasterPaintEngine::renderHintsChanged(), QPaintBufferEngine::renderHintsChanged(), QDirectFBPaintEngine::setState(), QDirectFBPaintEnginePrivate::supportsStretchBlit(), QGL2PaintEngineExPrivate::updateBrushTexture(), QPainterPrivate::updateEmulationSpecifier(), QBlitterPaintEnginePrivate::updateRenderHintsState(), and QPainterPrivate::updateState().
int QPainterState::vh |
Definition at line 164 of file qpainter_p.h.
Referenced by QPainterPrivate::attachPainterPrivate(), init(), and QPainterPrivate::viewTransform().
int QPainterState::vw |
Definition at line 164 of file qpainter_p.h.
Referenced by QPainterPrivate::attachPainterPrivate(), init(), and QPainterPrivate::viewTransform().
int QPainterState::vx |
Definition at line 164 of file qpainter_p.h.
Referenced by init(), and QPainterPrivate::viewTransform().
uint QPainterState::VxF |
Definition at line 168 of file qpainter_p.h.
Referenced by init(), QPainterPrivate::updateMatrix(), and QPainterPrivate::viewTransform().
int QPainterState::vy |
Definition at line 164 of file qpainter_p.h.
Referenced by init(), and QPainterPrivate::viewTransform().
int QPainterState::wh |
Definition at line 163 of file qpainter_p.h.
Referenced by QPainterPrivate::attachPainterPrivate(), init(), and QPainterPrivate::viewTransform().
QTransform QPainterState::worldMatrix |
Definition at line 160 of file qpainter_p.h.
Referenced by QPainterPrivate::attachPainterPrivate(), init(), and QPainterPrivate::updateMatrix().
int QPainterState::ww |
Definition at line 163 of file qpainter_p.h.
Referenced by QPainterPrivate::attachPainterPrivate(), init(), and QPainterPrivate::viewTransform().
int QPainterState::wx |
Definition at line 163 of file qpainter_p.h.
Referenced by init(), and QPainterPrivate::viewTransform().
uint QPainterState::WxF |
Definition at line 167 of file qpainter_p.h.
Referenced by QPainterPrivate::attachPainterPrivate(), init(), and QPainterPrivate::updateMatrix().
int QPainterState::wy |
Definition at line 163 of file qpainter_p.h.
Referenced by init(), and QPainterPrivate::viewTransform().