Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSvgFillStyle Class Reference

#include <qsvgstyle_p.h>

+ Inheritance diagram for QSvgFillStyle:
+ Collaboration diagram for QSvgFillStyle:

Public Member Functions

 QSvgFillStyle ()
 
void apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states) override
 
void revert (QPainter *p, QSvgExtraStates &states) override
 
Type type () const override
 
void setFillRule (Qt::FillRule f)
 
void setFillOpacity (qreal opacity)
 
void setFillStyle (QSvgFillStyleProperty *style)
 
void setBrush (QBrush brush)
 
const QBrushqbrush () const
 
qreal fillOpacity () const
 
Qt::FillRule fillRule () const
 
QSvgFillStylePropertystyle () const
 
void setGradientId (const QString &Id)
 
QString gradientId () const
 
void setGradientResolved (bool resolved)
 
bool isGradientResolved () const
 
- Public Member Functions inherited from QSvgStyleProperty
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 ()
 

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 205 of file qsvgstyle_p.h.

Constructor & Destructor Documentation

◆ QSvgFillStyle()

QSvgFillStyle::QSvgFillStyle ( )

Definition at line 91 of file qsvgstyle.cpp.

Member Function Documentation

◆ apply()

void QSvgFillStyle::apply ( QPainter p,
const QSvgNode node,
QSvgExtraStates states 
)
overridevirtual

Implements QSvgStyleProperty.

Definition at line 129 of file qsvgstyle.cpp.

References QSvgFillStyleProperty::brush().

Referenced by QSvgStyle::apply().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillOpacity()

qreal QSvgFillStyle::fillOpacity ( ) const
inline

Definition at line 223 of file qsvgstyle_p.h.

◆ fillRule()

Qt::FillRule QSvgFillStyle::fillRule ( ) const
inline

Definition at line 228 of file qsvgstyle_p.h.

◆ gradientId()

QString QSvgFillStyle::gradientId ( ) const
inline

Definition at line 243 of file qsvgstyle_p.h.

◆ isGradientResolved()

bool QSvgFillStyle::isGradientResolved ( ) const
inline

Definition at line 253 of file qsvgstyle_p.h.

◆ qbrush()

const QBrush & QSvgFillStyle::qbrush ( ) const
inline

Definition at line 218 of file qsvgstyle_p.h.

◆ revert()

void QSvgFillStyle::revert ( QPainter p,
QSvgExtraStates states 
)
overridevirtual

Implements QSvgStyleProperty.

Definition at line 147 of file qsvgstyle.cpp.

Referenced by QSvgStyle::revert().

+ Here is the caller graph for this function:

◆ setBrush()

void QSvgFillStyle::setBrush ( QBrush  brush)

Definition at line 122 of file qsvgstyle.cpp.

Referenced by parseBrush().

+ Here is the caller graph for this function:

◆ setFillOpacity()

void QSvgFillStyle::setFillOpacity ( qreal  opacity)

Definition at line 110 of file qsvgstyle.cpp.

Referenced by parseBrush().

+ Here is the caller graph for this function:

◆ setFillRule()

void QSvgFillStyle::setFillRule ( Qt::FillRule  f)

Definition at line 104 of file qsvgstyle.cpp.

Referenced by parseBrush().

+ Here is the caller graph for this function:

◆ setFillStyle()

void QSvgFillStyle::setFillStyle ( QSvgFillStyleProperty style)

Definition at line 116 of file qsvgstyle.cpp.

References style().

Referenced by parseBrush().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setGradientId()

void QSvgFillStyle::setGradientId ( const QString Id)
inline

Definition at line 238 of file qsvgstyle_p.h.

Referenced by parseBrush().

+ Here is the caller graph for this function:

◆ setGradientResolved()

void QSvgFillStyle::setGradientResolved ( bool  resolved)
inline

Definition at line 248 of file qsvgstyle_p.h.

Referenced by parseBrush().

+ Here is the caller graph for this function:

◆ style()

QSvgFillStyleProperty * QSvgFillStyle::style ( ) const
inline

Definition at line 233 of file qsvgstyle_p.h.

Referenced by setFillStyle().

+ Here is the caller graph for this function:

◆ type()

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

Implements QSvgStyleProperty.

Definition at line 434 of file qsvgstyle.cpp.

References QSvgStyleProperty::FILL.


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