Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSvgCompOpStyle Class Reference

#include <qsvgstyle_p.h>

+ Inheritance diagram for QSvgCompOpStyle:
+ Collaboration diagram for QSvgCompOpStyle:

Public Member Functions

 QSvgCompOpStyle (QPainter::CompositionMode mode)
 
void apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states) override
 
void revert (QPainter *p, QSvgExtraStates &states) override
 
Type type () const override
 
const QPainter::CompositionModecompOp () const
 
- Public Member Functions inherited from QSvgStyleProperty
virtual ~QSvgStyleProperty ()
 
virtual void apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states)=0
 
virtual void revert (QPainter *p, QSvgExtraStates &states)=0
 
virtual Type type () const =0
 
- Public Member Functions inherited from QSvgRefCounted
 QSvgRefCounted ()
 
virtual ~QSvgRefCounted ()
 
void ref ()
 
void deref ()
 

Additional Inherited Members

- Public Types inherited from QSvgStyleProperty
enum  Type {
  QUALITY , FILL , VIEWPORT_FILL , FONT ,
  STROKE , SOLID_COLOR , GRADIENT , TRANSFORM ,
  ANIMATE_TRANSFORM , ANIMATE_COLOR , OPACITY , COMP_OP
}
 

Detailed Description

Definition at line 703 of file qsvgstyle_p.h.

Constructor & Destructor Documentation

◆ QSvgCompOpStyle()

QSvgCompOpStyle::QSvgCompOpStyle ( QPainter::CompositionMode  mode)

Definition at line 470 of file qsvgstyle.cpp.

Member Function Documentation

◆ apply()

void QSvgCompOpStyle::apply ( QPainter p,
const QSvgNode node,
QSvgExtraStates states 
)
overridevirtual

Implements QSvgStyleProperty.

Definition at line 476 of file qsvgstyle.cpp.

Referenced by QSvgStyle::apply().

+ Here is the caller graph for this function:

◆ compOp()

const QPainter::CompositionMode & QSvgCompOpStyle::compOp ( ) const
inline

Definition at line 711 of file qsvgstyle_p.h.

◆ revert()

void QSvgCompOpStyle::revert ( QPainter p,
QSvgExtraStates states 
)
overridevirtual

Implements QSvgStyleProperty.

Definition at line 482 of file qsvgstyle.cpp.

Referenced by QSvgStyle::revert().

+ Here is the caller graph for this function:

◆ type()

QSvgStyleProperty::Type QSvgCompOpStyle::type ( ) const
overridevirtual

Implements QSvgStyleProperty.

Definition at line 487 of file qsvgstyle.cpp.

References QSvgStyleProperty::COMP_OP.


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