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

#include <qsvgstyle_p.h>

+ Inheritance diagram for QSvgSolidColorStyle:
+ Collaboration diagram for QSvgSolidColorStyle:

Public Member Functions

 QSvgSolidColorStyle (const QColor &color)
 
Type type () const override
 
const QColorqcolor () const
 
QBrush brush (QPainter *, const QSvgNode *, QSvgExtraStates &) override
 
- Public Member Functions inherited from QSvgPaintStyleProperty
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 ()
 
bool isDefault () const
 
- 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 , PATTERN ,
  TRANSFORM , ANIMATE_TRANSFORM , ANIMATE_COLOR , OPACITY ,
  COMP_OP
}
 

Detailed Description

Definition at line 529 of file qsvgstyle_p.h.

Constructor & Destructor Documentation

◆ QSvgSolidColorStyle()

QSvgSolidColorStyle::QSvgSolidColorStyle ( const QColor & color)

Definition at line 377 of file qsvgstyle.cpp.

Member Function Documentation

◆ brush()

QBrush QSvgSolidColorStyle::brush ( QPainter * ,
const QSvgNode * ,
QSvgExtraStates &  )
inlineoverridevirtual

Implements QSvgPaintStyleProperty.

Definition at line 540 of file qsvgstyle_p.h.

◆ qcolor()

const QColor & QSvgSolidColorStyle::qcolor ( ) const
inline

Definition at line 535 of file qsvgstyle_p.h.

◆ type()

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

Implements QSvgStyleProperty.

Definition at line 468 of file qsvgstyle.cpp.

References QSvgStyleProperty::SOLID_COLOR.


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