Qt 4.8
Public Types | Public Functions | List of all members
QSvgStyleProperty Class Referenceabstract

#include <qsvgstyle_p.h>

Inheritance diagram for QSvgStyleProperty:
QSvgRefCounted QSvgAnimateColor QSvgAnimateTransform QSvgCompOpStyle QSvgFillStyle QSvgFillStyleProperty QSvgFontStyle QSvgOpacityStyle QSvgQualityStyle QSvgStrokeStyle QSvgTransformStyle QSvgViewportFillStyle

Public Types

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

Public Functions

virtual void apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states)=0
 
virtual void revert (QPainter *p, QSvgExtraStates &states)=0
 
virtual Type type () const =0
 
virtual ~QSvgStyleProperty ()
 
- Public Functions inherited from QSvgRefCounted
void deref ()
 
 QSvgRefCounted ()
 
void ref ()
 
virtual ~QSvgRefCounted ()
 

Detailed Description

Definition at line 155 of file qsvgstyle_p.h.

Enumerations

◆ Type

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

Definition at line 158 of file qsvgstyle_p.h.

Constructors and Destructors

◆ ~QSvgStyleProperty()

QSvgStyleProperty::~QSvgStyleProperty ( )
virtual

Definition at line 72 of file qsvgstyle.cpp.

73 {
74 }

Functions

◆ apply()

virtual void QSvgStyleProperty::apply ( QPainter p,
const QSvgNode node,
QSvgExtraStates states 
)
pure virtual

◆ revert()

virtual void QSvgStyleProperty::revert ( QPainter p,
QSvgExtraStates states 
)
pure virtual

◆ type()

virtual Type QSvgStyleProperty::type ( ) const
pure virtual

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