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
QOpenGL2PaintEngineState Class Reference

#include <qopenglpaintengine_p.h>

+ Inheritance diagram for QOpenGL2PaintEngineState:
+ Collaboration diagram for QOpenGL2PaintEngineState:

Public Member Functions

 QOpenGL2PaintEngineState (QOpenGL2PaintEngineState &other)
 
 QOpenGL2PaintEngineState ()
 
 ~QOpenGL2PaintEngineState ()
 
- 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

uint isNew: 1
 
uint needsClipBufferClear: 1
 
uint clipTestEnabled: 1
 
uint canRestoreClip: 1
 
uint matrixChanged: 1
 
uint compositionModeChanged: 1
 
uint opacityChanged: 1
 
uint renderHintsChanged: 1
 
uint clipChanged: 1
 
uint currentClip: 8
 
QRect rectangleClip
 
- 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 54 of file qopenglpaintengine_p.h.

Constructor & Destructor Documentation

◆ QOpenGL2PaintEngineState() [1/2]

QOpenGL2PaintEngineState::QOpenGL2PaintEngineState ( QOpenGL2PaintEngineState & other)

Definition at line 2683 of file qopenglpaintengine.cpp.

References canRestoreClip, clipTestEnabled, currentClip, isNew, needsClipBufferClear, other(), and rectangleClip.

+ Here is the call graph for this function:

◆ QOpenGL2PaintEngineState() [2/2]

QOpenGL2PaintEngineState::QOpenGL2PaintEngineState ( )

Definition at line 2694 of file qopenglpaintengine.cpp.

References canRestoreClip, clipTestEnabled, isNew, and needsClipBufferClear.

◆ ~QOpenGL2PaintEngineState()

QOpenGL2PaintEngineState::~QOpenGL2PaintEngineState ( )

Definition at line 2702 of file qopenglpaintengine.cpp.

Member Data Documentation

◆ canRestoreClip

uint QOpenGL2PaintEngineState::canRestoreClip

◆ clipChanged

uint QOpenGL2PaintEngineState::clipChanged

◆ clipTestEnabled

uint QOpenGL2PaintEngineState::clipTestEnabled

◆ compositionModeChanged

uint QOpenGL2PaintEngineState::compositionModeChanged

◆ currentClip

uint QOpenGL2PaintEngineState::currentClip

Definition at line 70 of file qopenglpaintengine_p.h.

Referenced by QOpenGL2PaintEngineState(), and QOpenGL2PaintEngineEx::clip().

◆ isNew

uint QOpenGL2PaintEngineState::isNew

Definition at line 61 of file qopenglpaintengine_p.h.

Referenced by QOpenGL2PaintEngineState(), and QOpenGL2PaintEngineState().

◆ matrixChanged

uint QOpenGL2PaintEngineState::matrixChanged

Definition at line 65 of file qopenglpaintengine_p.h.

Referenced by QOpenGL2PaintEngineEx::transformChanged().

◆ needsClipBufferClear

uint QOpenGL2PaintEngineState::needsClipBufferClear

Definition at line 62 of file qopenglpaintengine_p.h.

Referenced by QOpenGL2PaintEngineState(), and QOpenGL2PaintEngineState().

◆ opacityChanged

uint QOpenGL2PaintEngineState::opacityChanged

Definition at line 67 of file qopenglpaintengine_p.h.

Referenced by QOpenGL2PaintEngineEx::opacityChanged().

◆ rectangleClip

QRect QOpenGL2PaintEngineState::rectangleClip

Definition at line 72 of file qopenglpaintengine_p.h.

Referenced by QOpenGL2PaintEngineState(), and QOpenGL2PaintEngineEx::clip().

◆ renderHintsChanged

uint QOpenGL2PaintEngineState::renderHintsChanged

Definition at line 68 of file qopenglpaintengine_p.h.

Referenced by QOpenGL2PaintEngineEx::renderHintsChanged().


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