Qt 4.8
Public Functions | List of all members
QSvgFillStyleProperty Class Referenceabstract

#include <qsvgstyle_p.h>

Inheritance diagram for QSvgFillStyleProperty:
QSvgStyleProperty QSvgRefCounted QSvgGradientStyle QSvgSolidColorStyle

Public Functions

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

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
}
 

Detailed Description

Definition at line 180 of file qsvgstyle_p.h.

Functions

◆ apply()

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

Implements QSvgStyleProperty.

Definition at line 76 of file qsvgstyle.cpp.

77 {
78  Q_ASSERT(!"This should not be called!");
79 }
#define Q_ASSERT(cond)
Definition: qglobal.h:1823

◆ brush()

virtual QBrush QSvgFillStyleProperty::brush ( QPainter p,
QSvgExtraStates states 
)
pure virtual

◆ revert()

void QSvgFillStyleProperty::revert ( QPainter p,
QSvgExtraStates states 
)
virtual

Implements QSvgStyleProperty.

Definition at line 81 of file qsvgstyle.cpp.

82 {
83  Q_ASSERT(!"This should not be called!");
84 }
#define Q_ASSERT(cond)
Definition: qglobal.h:1823

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