Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 , 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
 
- Public Member Functions inherited from QSvgRefCounted
 QSvgRefCounted ()
 
virtual ~QSvgRefCounted ()
 
void ref ()
 
void deref ()
 

Detailed Description

Definition at line 118 of file qsvgstyle_p.h.

Member Enumeration Documentation

◆ Type

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

Definition at line 121 of file qsvgstyle_p.h.

Constructor & Destructor Documentation

◆ ~QSvgStyleProperty()

QSvgStyleProperty::~QSvgStyleProperty ( )
virtual

Definition at line 33 of file qsvgstyle.cpp.

Member Function Documentation

◆ apply()

◆ revert()

◆ type()

virtual Type QSvgStyleProperty::type ( ) const
pure virtual

Implemented in QSvgQualityStyle, QSvgOpacityStyle, QSvgFillStyle, QSvgViewportFillStyle, QSvgFontStyle, QSvgStrokeStyle, QSvgSolidColorStyle, QSvgGradientStyle, QSvgTransformStyle, QSvgAnimateTransform, QSvgAnimateColor, and QSvgCompOpStyle.

Referenced by QSvgNode::appendStyleProperty(), parseBaseGradient(), parseBrush(), parsePen(), and QSvgGradientStyle::resolveStops_helper().

+ Here is the caller graph for this function:

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