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>.
|
#include <qsvgstyle_p.h>
Public Member Functions | |
QSvgGradientStyle (QGradient *grad) | |
~QSvgGradientStyle () | |
Type | type () const override |
void | setStopLink (const QString &link, QSvgTinyDocument *doc) |
QString | stopLink () const |
void | resolveStops () |
void | resolveStops_helper (QStringList *visited) |
void | setTransform (const QTransform &transform) |
QTransform | qtransform () const |
QGradient * | qgradient () const |
bool | gradientStopsSet () const |
void | setGradientStopsSet (bool set) |
QBrush | brush (QPainter *, const QSvgNode *, QSvgExtraStates &) override |
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 } |
Definition at line 554 of file qsvgstyle_p.h.
QSvgGradientStyle::QSvgGradientStyle | ( | QGradient * | grad | ) |
Definition at line 382 of file qsvgstyle.cpp.
|
inline |
Definition at line 558 of file qsvgstyle_p.h.
|
overridevirtual |
Implements QSvgPaintStyleProperty.
Definition at line 387 of file qsvgstyle.cpp.
References QString::isEmpty(), QTransform::isIdentity(), resolveStops(), and QGradient::setStops().
|
inline |
Definition at line 577 of file qsvgstyle_p.h.
Referenced by parseStopNode().
|
inline |
Definition at line 572 of file qsvgstyle_p.h.
Referenced by parseStopNode().
|
inline |
Definition at line 567 of file qsvgstyle_p.h.
void QSvgGradientStyle::resolveStops | ( | ) |
Definition at line 936 of file qsvgstyle.cpp.
References resolveStops_helper().
Referenced by brush().
void QSvgGradientStyle::resolveStops_helper | ( | QStringList * | visited | ) |
Definition at line 942 of file qsvgstyle.cpp.
References QSvgStyleProperty::GRADIENT, QString::isEmpty(), qPrintable, qWarning, resolveStops_helper(), QGradient::setStops(), QSvgNode::styleProperty(), and QSvgStyleProperty::type().
Referenced by resolveStops(), and resolveStops_helper().
|
inline |
Definition at line 582 of file qsvgstyle_p.h.
References set.
Referenced by parseStopNode().
void QSvgGradientStyle::setStopLink | ( | const QString & | link, |
QSvgTinyDocument * | doc ) |
Definition at line 930 of file qsvgstyle.cpp.
Referenced by parseBaseGradient().
void QSvgGradientStyle::setTransform | ( | const QTransform & | transform | ) |
Definition at line 408 of file qsvgstyle.cpp.
|
inline |
Definition at line 562 of file qsvgstyle_p.h.
|
overridevirtual |
Implements QSvgStyleProperty.
Definition at line 473 of file qsvgstyle.cpp.
References QSvgStyleProperty::GRADIENT.