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
QSvgStyleProperty Class Referenceabstract

#include <qsvgstyle_p.h>

+ Inheritance diagram for QSvgStyleProperty:
+ Collaboration diagram for QSvgStyleProperty:

Public Types

enum  Type {
  QUALITY , FILL , VIEWPORT_FILL , FONT ,
  STROKE , SOLID_COLOR , GRADIENT , PATTERN ,
  TRANSFORM , ANIMATE_TRANSFORM , ANIMATE_COLOR , OPACITY ,
  COMP_OP
}
 

Public Member Functions

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
 
bool isDefault () const
 
- Public Member Functions inherited from QSvgRefCounted
 QSvgRefCounted ()
 
virtual ~QSvgRefCounted ()
 
void ref ()
 
void deref ()
 

Detailed Description

Definition at line 122 of file qsvgstyle_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
QUALITY 
FILL 
VIEWPORT_FILL 
FONT 
STROKE 
SOLID_COLOR 
GRADIENT 
PATTERN 
TRANSFORM 
ANIMATE_TRANSFORM 
ANIMATE_COLOR 
OPACITY 
COMP_OP 

Definition at line 125 of file qsvgstyle_p.h.

Constructor & Destructor Documentation

◆ ~QSvgStyleProperty()

QSvgStyleProperty::~QSvgStyleProperty ( )
virtual

Definition at line 33 of file qsvgstyle.cpp.

Member Function Documentation

◆ apply()

◆ isDefault()

bool QSvgStyleProperty::isDefault ( ) const
inline

Definition at line 146 of file qsvgstyle_p.h.

◆ revert()

◆ type()


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