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
QSvgViewportFillStyle Class Reference

#include <qsvgstyle_p.h>

+ Inheritance diagram for QSvgViewportFillStyle:
+ Collaboration diagram for QSvgViewportFillStyle:

Public Member Functions

 QSvgViewportFillStyle (const QBrush &brush)
 
void apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states) override
 
void revert (QPainter *p, QSvgExtraStates &states) override
 
Type type () const override
 
const QBrushqbrush () const
 
- Public Member Functions inherited from QSvgStyleProperty
virtual ~QSvgStyleProperty ()
 
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 287 of file qsvgstyle_p.h.

Constructor & Destructor Documentation

◆ QSvgViewportFillStyle()

QSvgViewportFillStyle::QSvgViewportFillStyle ( const QBrush & brush)

Definition at line 157 of file qsvgstyle.cpp.

Member Function Documentation

◆ apply()

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

Implements QSvgStyleProperty.

Definition at line 162 of file qsvgstyle.cpp.

Referenced by QSvgStyle::apply().

+ Here is the caller graph for this function:

◆ qbrush()

const QBrush & QSvgViewportFillStyle::qbrush ( ) const
inline

Definition at line 295 of file qsvgstyle_p.h.

◆ revert()

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

Implements QSvgStyleProperty.

Definition at line 168 of file qsvgstyle.cpp.

Referenced by QSvgStyle::revert().

+ Here is the caller graph for this function:

◆ type()

QSvgStyleProperty::Type QSvgViewportFillStyle::type ( ) const
overridevirtual

Implements QSvgStyleProperty.

Definition at line 453 of file qsvgstyle.cpp.

References QSvgStyleProperty::VIEWPORT_FILL.


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