![]() |
Qt 6.x
The Qt SDK
|
#include <qpaintengine_alpha_p.h>
Public Member Functions | |
QAlphaPaintEnginePrivate () | |
~QAlphaPaintEnginePrivate () | |
void | addAlphaRect (const QRectF &rect) |
void | addDirtyRect (const QRectF &rect) |
bool | canSeeTroughBackground (bool somethingInRectHasAlpha, const QRectF &rect) const |
QRectF | addPenWidth (const QPainterPath &path) |
void | drawAlphaImage (const QRectF &rect) |
QRect | toRect (const QRectF &rect) const |
bool | fullyContained (const QRectF &rect) const |
void | resetState (QPainter *p) |
![]() | |
QPaintEnginePrivate () | |
virtual | ~QPaintEnginePrivate () |
void | updateSystemClip () |
void | setSystemTransform (const QTransform &xform) |
void | setSystemViewport (const QRegion ®ion) |
void | setSystemTransformAndViewport (const QTransform &xform, const QRegion ®ion) |
virtual void | systemStateChanged () |
void | drawBoxTextItem (const QPointF &p, const QTextItemInt &ti) |
virtual QPaintEngine * | aggregateEngine () |
virtual Qt::HANDLE | nativeHandle () |
Public Attributes | |
int | m_pass |
QPicture * | m_pic |
QPaintEngine * | m_picengine |
QPainter * | m_picpainter |
QPaintEngine::PaintEngineFeatures | m_savedcaps |
QPaintDevice * | m_pdev |
QRegion | m_alphargn |
QRegion | m_cliprgn |
QRegion | m_cachedDirtyRgn |
int | m_numberOfCachedRects |
QList< QRect > | m_dirtyRects |
bool | m_hasalpha |
bool | m_alphaPen |
bool | m_alphaBrush |
bool | m_alphaOpacity |
bool | m_advancedPen |
bool | m_advancedBrush |
bool | m_complexTransform |
bool | m_emulateProjectiveTransforms |
bool | m_continueCall |
QTransform | m_transform |
QPen | m_pen |
![]() | |
QPaintDevice * | pdev |
QPaintEngine * | q_ptr |
QRegion | baseSystemClip |
QRegion | systemClip |
QRect | systemRect |
QRegion | systemViewport |
QTransform | systemTransform |
QPaintDevice * | currentClipDevice |
uint | hasSystemTransform: 1 |
uint | hasSystemViewport: 1 |
Additional Inherited Members | |
![]() | |
static QPaintEnginePrivate * | get (QPaintEngine *paintEngine) |
Definition at line 55 of file qpaintengine_alpha_p.h.
QAlphaPaintEnginePrivate::QAlphaPaintEnginePrivate | ( | ) |
Definition at line 349 of file qpaintengine_alpha.cpp.
QAlphaPaintEnginePrivate::~QAlphaPaintEnginePrivate | ( | ) |
Definition at line 366 of file qpaintengine_alpha.cpp.
References m_pic, and m_picpainter.
Definition at line 396 of file qpaintengine_alpha.cpp.
References m_alphargn, and rect.
Definition at line 90 of file qpaintengine_alpha_p.h.
References QList< T >::append(), m_dirtyRects, and rect.
QRectF QAlphaPaintEnginePrivate::addPenWidth | ( | const QPainterPath & | path | ) |
Definition at line 372 of file qpaintengine_alpha.cpp.
References QPen::capStyle(), QPainterPath::controlPointRect(), QPainterPathStroker::createStroke(), QPen::isCosmetic(), QPen::joinStyle(), m_pen, m_transform, Qt::NoPen, QPainterPathStroker::setCapStyle(), QPainterPathStroker::setJoinStyle(), QPainterPathStroker::setWidth(), QPen::style(), and QPen::widthF().
bool QAlphaPaintEnginePrivate::canSeeTroughBackground | ( | bool | somethingInRectHasAlpha, |
const QRectF & | rect | ||
) | const |
Definition at line 401 of file qpaintengine_alpha.cpp.
References QList< T >::constData(), QRegion::intersects(), m_cachedDirtyRgn, m_dirtyRects, m_numberOfCachedRects, rect, QRegion::setRects(), and QList< T >::size().
Definition at line 413 of file qpaintengine_alpha.cpp.
References QPainter::drawPicture(), QPainter::end(), QImage::Format_RGB32, QPaintDevice::logicalDpiX(), QPaintDevice::logicalDpiY(), m_pdev, m_pic, qMax(), rect, QTransform::scale(), QPainter::setTransform(), and tileSize.
bool QAlphaPaintEnginePrivate::fullyContained | ( | const QRectF & | rect | ) | const |
Definition at line 460 of file qpaintengine_alpha.cpp.
References QRegion::intersected(), m_cliprgn, and rect.
Definition at line 466 of file qpaintengine_alpha.cpp.
References Qt::NoClip.
bool QAlphaPaintEnginePrivate::m_advancedBrush |
Definition at line 81 of file qpaintengine_alpha_p.h.
bool QAlphaPaintEnginePrivate::m_advancedPen |
Definition at line 80 of file qpaintengine_alpha_p.h.
bool QAlphaPaintEnginePrivate::m_alphaBrush |
Definition at line 78 of file qpaintengine_alpha_p.h.
bool QAlphaPaintEnginePrivate::m_alphaOpacity |
Definition at line 79 of file qpaintengine_alpha_p.h.
bool QAlphaPaintEnginePrivate::m_alphaPen |
Definition at line 77 of file qpaintengine_alpha_p.h.
QRegion QAlphaPaintEnginePrivate::m_alphargn |
Definition at line 70 of file qpaintengine_alpha_p.h.
Referenced by addAlphaRect().
|
mutable |
Definition at line 72 of file qpaintengine_alpha_p.h.
Referenced by canSeeTroughBackground().
QRegion QAlphaPaintEnginePrivate::m_cliprgn |
Definition at line 71 of file qpaintengine_alpha_p.h.
Referenced by fullyContained().
bool QAlphaPaintEnginePrivate::m_complexTransform |
Definition at line 82 of file qpaintengine_alpha_p.h.
bool QAlphaPaintEnginePrivate::m_continueCall |
Definition at line 84 of file qpaintengine_alpha_p.h.
Definition at line 74 of file qpaintengine_alpha_p.h.
Referenced by addDirtyRect(), and canSeeTroughBackground().
bool QAlphaPaintEnginePrivate::m_emulateProjectiveTransforms |
Definition at line 83 of file qpaintengine_alpha_p.h.
bool QAlphaPaintEnginePrivate::m_hasalpha |
Definition at line 76 of file qpaintengine_alpha_p.h.
|
mutable |
Definition at line 73 of file qpaintengine_alpha_p.h.
Referenced by canSeeTroughBackground().
int QAlphaPaintEnginePrivate::m_pass |
Definition at line 62 of file qpaintengine_alpha_p.h.
QPaintDevice* QAlphaPaintEnginePrivate::m_pdev |
Definition at line 68 of file qpaintengine_alpha_p.h.
Referenced by drawAlphaImage().
QPen QAlphaPaintEnginePrivate::m_pen |
Definition at line 87 of file qpaintengine_alpha_p.h.
Referenced by addPenWidth().
QPicture* QAlphaPaintEnginePrivate::m_pic |
Definition at line 63 of file qpaintengine_alpha_p.h.
Referenced by ~QAlphaPaintEnginePrivate(), and drawAlphaImage().
QPaintEngine* QAlphaPaintEnginePrivate::m_picengine |
Definition at line 64 of file qpaintengine_alpha_p.h.
QPainter* QAlphaPaintEnginePrivate::m_picpainter |
Definition at line 65 of file qpaintengine_alpha_p.h.
Referenced by ~QAlphaPaintEnginePrivate().
QPaintEngine::PaintEngineFeatures QAlphaPaintEnginePrivate::m_savedcaps |
Definition at line 67 of file qpaintengine_alpha_p.h.
QTransform QAlphaPaintEnginePrivate::m_transform |
Definition at line 86 of file qpaintengine_alpha_p.h.
Referenced by addPenWidth().