Qt 4.8
|
#include <qsvgstyle_p.h>
Public Functions | |
QBrush | brush (QPainter *, QSvgExtraStates &) |
bool | gradientStopsSet () const |
QGradient * | qgradient () const |
QMatrix | qmatrix () const |
QSvgGradientStyle (QGradient *grad) | |
void | resolveStops () |
void | setGradientStopsSet (bool set) |
void | setMatrix (const QMatrix &matrix) |
void | setStopLink (const QString &link, QSvgTinyDocument *doc) |
QString | stopLink () const |
virtual Type | type () const |
~QSvgGradientStyle () | |
Public Functions inherited from QSvgFillStyleProperty | |
virtual void | apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states) |
virtual void | revert (QPainter *p, QSvgExtraStates &states) |
Public Functions inherited from QSvgStyleProperty | |
virtual | ~QSvgStyleProperty () |
Public Functions inherited from QSvgRefCounted | |
void | deref () |
QSvgRefCounted () | |
void | ref () |
virtual | ~QSvgRefCounted () |
Properties | |
QSvgTinyDocument * | m_doc |
QGradient * | m_gradient |
bool | m_gradientStopsSet |
QString | m_link |
QMatrix | m_matrix |
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 } |
Definition at line 574 of file qsvgstyle_p.h.
QSvgGradientStyle::QSvgGradientStyle | ( | QGradient * | grad | ) |
Definition at line 410 of file qsvgstyle.cpp.
|
inline |
Definition at line 578 of file qsvgstyle_p.h.
|
virtual |
Implements QSvgFillStyleProperty.
Definition at line 415 of file qsvgstyle.cpp.
|
inline |
Definition at line 596 of file qsvgstyle_p.h.
Referenced by parseBaseGradient(), parseStopNode(), and resolveStops().
|
inline |
Definition at line 591 of file qsvgstyle_p.h.
Referenced by parseBaseGradient(), parseStopNode(), and resolveStops().
|
inline |
void QSvgGradientStyle::resolveStops | ( | ) |
Definition at line 937 of file qsvgstyle.cpp.
Referenced by brush(), and resolveStops().
|
inline |
Definition at line 601 of file qsvgstyle_p.h.
Referenced by parseBaseGradient(), and parseStopNode().
void QSvgGradientStyle::setMatrix | ( | const QMatrix & | matrix | ) |
void QSvgGradientStyle::setStopLink | ( | const QString & | link, |
QSvgTinyDocument * | doc | ||
) |
|
inline |
|
virtual |
Implements QSvgStyleProperty.
Definition at line 487 of file qsvgstyle.cpp.
|
private |
Definition at line 611 of file qsvgstyle_p.h.
|
private |
Definition at line 608 of file qsvgstyle_p.h.
Referenced by brush().
|
private |
Definition at line 613 of file qsvgstyle_p.h.
Referenced by brush().
|
private |
Definition at line 612 of file qsvgstyle_p.h.
Referenced by brush().
|
private |
Definition at line 609 of file qsvgstyle_p.h.
Referenced by brush(), and setMatrix().