![]() |
Qt 6.x
The Qt SDK
|
#include <qsvgstyle_p.h>
Inheritance diagram for QSvgSolidColorStyle:
Collaboration diagram for QSvgSolidColorStyle:Public Member Functions | |
| QSvgSolidColorStyle (const QColor &color) | |
| Type | type () const override |
| const QColor & | qcolor () const |
| QBrush | brush (QPainter *, QSvgExtraStates &) override |
Public Member Functions inherited from QSvgFillStyleProperty | |
| 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 } |
Definition at line 520 of file qsvgstyle_p.h.
| QSvgSolidColorStyle::QSvgSolidColorStyle | ( | const QColor & | color | ) |
Definition at line 377 of file qsvgstyle.cpp.
|
inlineoverridevirtual |
Implements QSvgFillStyleProperty.
Definition at line 531 of file qsvgstyle_p.h.
|
inline |
Definition at line 526 of file qsvgstyle_p.h.
|
overridevirtual |
Implements QSvgStyleProperty.
Definition at line 454 of file qsvgstyle.cpp.
References QSvgStyleProperty::SOLID_COLOR.