Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSvgPaintStyleProperty Class Referenceabstract

#include <qsvgstyle_p.h>

Inheritance diagram for QSvgPaintStyleProperty:
Collaboration diagram for QSvgPaintStyleProperty:

Public Member Functions

virtual QBrush brush (QPainter *p, const QSvgNode *node, QSvgExtraStates &states)=0
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 ()
virtual Type type () const =0
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 150 of file qsvgstyle_p.h.

Member Function Documentation

◆ apply()

void QSvgPaintStyleProperty::apply ( QPainter * p,
const QSvgNode * node,
QSvgExtraStates & states )
overridevirtual

Implements QSvgStyleProperty.

Definition at line 38 of file qsvgstyle.cpp.

◆ brush()

virtual QBrush QSvgPaintStyleProperty::brush ( QPainter * p,
const QSvgNode * node,
QSvgExtraStates & states )
pure virtual

◆ revert()

void QSvgPaintStyleProperty::revert ( QPainter * p,
QSvgExtraStates & states )
overridevirtual

Implements QSvgStyleProperty.

Definition at line 43 of file qsvgstyle.cpp.


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