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

#include <qsvgstyle_p.h>

+ Inheritance diagram for QSvgPatternStyle:
+ Collaboration diagram for QSvgPatternStyle:

Public Member Functions

 QSvgPatternStyle (QSvgPattern *pattern)
 
 ~QSvgPatternStyle ()=default
 
Type type () const override
 
QBrush brush (QPainter *, const QSvgNode *, QSvgExtraStates &) override
 
QSvgPatternpatternNode ()
 
- Public Member Functions inherited from QSvgPaintStyleProperty
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 ()
 
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 597 of file qsvgstyle_p.h.

Constructor & Destructor Documentation

◆ QSvgPatternStyle()

QSvgPatternStyle::QSvgPatternStyle ( QSvgPattern * pattern)

Definition at line 413 of file qsvgstyle.cpp.

◆ ~QSvgPatternStyle()

QSvgPatternStyle::~QSvgPatternStyle ( )
default

Member Function Documentation

◆ brush()

QBrush QSvgPatternStyle::brush ( QPainter * p,
const QSvgNode * node,
QSvgExtraStates & states )
overridevirtual

Implements QSvgPaintStyleProperty.

Definition at line 419 of file qsvgstyle.cpp.

References QSvgPattern::appliedTransform(), and QSvgPattern::patternImage().

+ Here is the call graph for this function:

◆ patternNode()

QSvgPattern * QSvgPatternStyle::patternNode ( )
inline

Definition at line 605 of file qsvgstyle_p.h.

◆ type()

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

Implements QSvgStyleProperty.

Definition at line 478 of file qsvgstyle.cpp.

References QSvgStyleProperty::PATTERN.


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