Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QRasterPaintEngineState Class Reference

#include <qpaintengine_raster_p.h>

+ Inheritance diagram for QRasterPaintEngineState:
+ Collaboration diagram for QRasterPaintEngineState:

Classes

struct  Flags
 

Public Member Functions

 QRasterPaintEngineState (QRasterPaintEngineState &other)
 
 QRasterPaintEngineState ()
 
 ~QRasterPaintEngineState ()
 
- Public Member Functions inherited from QPainterState
 QPainterState ()
 
 QPainterState (const QPainterState *s)
 
virtual ~QPainterState ()
 
void init (QPainter *p)
 
- Public Member Functions inherited from QPaintEngineState
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.e.
 
QPen pen () const
 Returns the pen in the current paint engine state.
 
QBrush brush () const
 Returns the brush in the current paint engine state.
 
QPointF brushOrigin () const
 Returns the brush origin in the current paint engine state.
 
QBrush backgroundBrush () const
 Returns the background brush in the current paint engine state.
 
Qt::BGMode backgroundMode () const
 Returns the background mode in the current paint engine state.
 
QFont font () const
 Returns the font in the current paint engine state.
 
QTransform transform () const
 
Qt::ClipOperation clipOperation () const
 Returns the clip operation in the current paint engine state.
 
QRegion clipRegion () const
 Returns the clip region in the current paint engine state.
 
QPainterPath clipPath () const
 Returns the clip path in the current paint engine state.
 
bool isClipEnabled () const
 Returns whether clipping is enabled or not in the current paint engine state.
 
QPainter::RenderHints renderHints () const
 Returns the render hints in the current paint engine state.
 
QPainter::CompositionMode compositionMode () const
 Returns the composition mode in the current paint engine state.
 
qreal opacity () const
 
QPainterpainter () const
 Returns a pointer to the painter currently updating the paint engine.
 
bool brushNeedsResolving () const
 
bool penNeedsResolving () const
 

Public Attributes

QPen lastPen
 
QSpanData penData
 
QStrokerOpsstroker
 
uint strokeFlags
 
QBrush lastBrush
 
QSpanData brushData
 
uint fillFlags
 
uint pixmapFlags
 
int intOpacity
 
qreal txscale
 
QClipDataclip
 
uint dirty
 
union { 
 
   Flags   flags 
 
   uint   flag_bits 
 
};  
 
- Public Attributes inherited from QPainterState
QPointF brushOrigin
 
QFont font
 
QFont deviceFont
 
QPen pen
 
QBrush brush
 
QBrush bgBrush = Qt::white
 
QRegion clipRegion
 
QPainterPath clipPath
 
Qt::ClipOperation clipOperation = Qt::NoClip
 
QPainter::RenderHints renderHints
 
QList< QPainterClipInfoclipInfo
 
QTransform worldMatrix
 
QTransform matrix
 
QTransform redirectionMatrix
 
int wx = 0
 
int wy = 0
 
int ww = 0
 
int wh = 0
 
int vx = 0
 
int vy = 0
 
int vw = 0
 
int vh = 0
 
qreal opacity = 1
 
uint WxF:1
 
uint VxF:1
 
uint clipEnabled:1
 
Qt::BGMode bgMode = Qt::TransparentMode
 
QPainterpainter = nullptr
 
Qt::LayoutDirection layoutDirection
 
QPainter::CompositionMode composition_mode = QPainter::CompositionMode_SourceOver
 
uint emulationSpecifier = 0
 
uint changeFlags = 0
 

Additional Inherited Members

- Protected Attributes inherited from QPaintEngineState
QPaintEngine::DirtyFlags dirtyFlags
 

Detailed Description

Definition at line 39 of file qpaintengine_raster_p.h.

Constructor & Destructor Documentation

◆ QRasterPaintEngineState() [1/2]

QRasterPaintEngineState::QRasterPaintEngineState ( QRasterPaintEngineState & other)

Definition at line 518 of file qpaintengine_raster.cpp.

References brushData, penData, and QSpanData::tempImage.

◆ QRasterPaintEngineState() [2/2]

QRasterPaintEngineState::QRasterPaintEngineState ( )

◆ ~QRasterPaintEngineState()

QRasterPaintEngineState::~QRasterPaintEngineState ( )

Definition at line 483 of file qpaintengine_raster.cpp.

References clip.

Member Data Documentation

◆ [union]

union { ... } QRasterPaintEngineState

◆ brushData

QSpanData QRasterPaintEngineState::brushData

Definition at line 53 of file qpaintengine_raster_p.h.

Referenced by QRasterPaintEngineState().

◆ clip

QClipData* QRasterPaintEngineState::clip

◆ dirty

uint QRasterPaintEngineState::dirty

Definition at line 68 of file qpaintengine_raster_p.h.

Referenced by QRasterPaintEngineState().

◆ fillFlags

uint QRasterPaintEngineState::fillFlags

Definition at line 54 of file qpaintengine_raster_p.h.

Referenced by QRasterPaintEngineState().

◆ flag_bits

uint QRasterPaintEngineState::flag_bits

Definition at line 84 of file qpaintengine_raster_p.h.

Referenced by QRasterPaintEngineState().

◆ flags

Flags QRasterPaintEngineState::flags

Definition at line 83 of file qpaintengine_raster_p.h.

Referenced by QCosmeticStroker::drawPath().

◆ intOpacity

int QRasterPaintEngineState::intOpacity

Definition at line 57 of file qpaintengine_raster_p.h.

Referenced by QRasterPaintEngineState().

◆ lastBrush

QBrush QRasterPaintEngineState::lastBrush

Definition at line 52 of file qpaintengine_raster_p.h.

◆ lastPen

QPen QRasterPaintEngineState::lastPen

◆ penData

◆ pixmapFlags

uint QRasterPaintEngineState::pixmapFlags

Definition at line 56 of file qpaintengine_raster_p.h.

Referenced by QRasterPaintEngineState().

◆ strokeFlags

uint QRasterPaintEngineState::strokeFlags

Definition at line 50 of file qpaintengine_raster_p.h.

Referenced by QRasterPaintEngineState().

◆ stroker

QStrokerOps* QRasterPaintEngineState::stroker

Definition at line 49 of file qpaintengine_raster_p.h.

Referenced by QRasterPaintEngineState().

◆ txscale

qreal QRasterPaintEngineState::txscale

Definition at line 59 of file qpaintengine_raster_p.h.

Referenced by QRasterPaintEngineState().


The documentation for this class was generated from the following files: