Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSvgFillStyleProperty Class Referenceabstract

#include <qsvgstyle_p.h>

+ Inheritance diagram for QSvgFillStyleProperty:
+ Collaboration diagram for QSvgFillStyleProperty:

Public Member Functions

virtual QBrush brush (QPainter *p, QSvgExtraStates &states)=0
 
void apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states) override
 
void revert (QPainter *p, QSvgExtraStates &states) override
 
- 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 143 of file qsvgstyle_p.h.

Member Function Documentation

◆ apply()

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

Implements QSvgStyleProperty.

Definition at line 37 of file qsvgstyle.cpp.

References Q_ASSERT.

◆ brush()

virtual QBrush QSvgFillStyleProperty::brush ( QPainter p,
QSvgExtraStates states 
)
pure virtual

Implemented in QSvgSolidColorStyle, and QSvgGradientStyle.

Referenced by QSvgFillStyle::apply(), and QSvgStrokeStyle::apply().

+ Here is the caller graph for this function:

◆ revert()

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

Implements QSvgStyleProperty.

Definition at line 42 of file qsvgstyle.cpp.

References Q_ASSERT.


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