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
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 (QSvgPaintStyleProperty *style)
 
void setBrush (QBrush brush)
 
const QBrushqbrush () const
 
qreal fillOpacity () const
 
Qt::FillRule fillRule () const
 
QSvgPaintStylePropertystyle () const
 
void setPaintStyleId (const QString &Id)
 
QString paintStyleId () const
 
void setPaintStyleResolved (bool resolved)
 
bool isPaintStyleResolved () 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 214 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 QSvgPaintStyleProperty::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 232 of file qsvgstyle_p.h.

◆ fillRule()

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

Definition at line 237 of file qsvgstyle_p.h.

◆ isPaintStyleResolved()

bool QSvgFillStyle::isPaintStyleResolved ( ) const
inline

Definition at line 262 of file qsvgstyle_p.h.

◆ paintStyleId()

QString QSvgFillStyle::paintStyleId ( ) const
inline

Definition at line 252 of file qsvgstyle_p.h.

◆ qbrush()

const QBrush & QSvgFillStyle::qbrush ( ) const
inline

Definition at line 227 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 ( QSvgPaintStyleProperty * 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:

◆ setPaintStyleId()

void QSvgFillStyle::setPaintStyleId ( const QString & Id)
inline

Definition at line 247 of file qsvgstyle_p.h.

Referenced by parseBrush().

+ Here is the caller graph for this function:

◆ setPaintStyleResolved()

void QSvgFillStyle::setPaintStyleResolved ( bool resolved)
inline

Definition at line 257 of file qsvgstyle_p.h.

Referenced by parseBrush().

+ Here is the caller graph for this function:

◆ style()

QSvgPaintStyleProperty * QSvgFillStyle::style ( ) const
inline

Definition at line 242 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 448 of file qsvgstyle.cpp.

References QSvgStyleProperty::FILL.


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