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

#include <qsvgstyle_p.h>

+ Collaboration diagram for QSvgStyle:

Public Member Functions

 QSvgStyle ()
 
 ~QSvgStyle ()
 
void apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states)
 
void revert (QPainter *p, QSvgExtraStates &states)
 

Public Attributes

QSvgRefCounter< QSvgQualityStylequality
 
QSvgRefCounter< QSvgFillStylefill
 
QSvgRefCounter< QSvgViewportFillStyleviewportFill
 
QSvgRefCounter< QSvgFontStylefont
 
QSvgRefCounter< QSvgStrokeStylestroke
 
QSvgRefCounter< QSvgSolidColorStylesolidColor
 
QSvgRefCounter< QSvgGradientStylegradient
 
QSvgRefCounter< QSvgPatternStylepattern
 
QSvgRefCounter< QSvgTransformStyletransform
 
QSvgRefCounter< QSvgAnimateColoranimateColor
 
QList< QSvgRefCounter< QSvgAnimateTransform > > animateTransforms
 
QSvgRefCounter< QSvgOpacityStyleopacity
 
QSvgRefCounter< QSvgCompOpStylecompop
 

Detailed Description

Definition at line 749 of file qsvgstyle_p.h.

Constructor & Destructor Documentation

◆ QSvgStyle()

QSvgStyle::QSvgStyle ( )
inline

Definition at line 752 of file qsvgstyle_p.h.

◆ ~QSvgStyle()

QSvgStyle::~QSvgStyle ( )

Definition at line 511 of file qsvgstyle.cpp.

Member Function Documentation

◆ apply()

void QSvgStyle::apply ( QPainter * p,
const QSvgNode * node,
QSvgExtraStates & states )

Definition at line 515 of file qsvgstyle.cpp.

References animateColor, animateTransforms, QSvgQualityStyle::apply(), QSvgOpacityStyle::apply(), QSvgFillStyle::apply(), QSvgViewportFillStyle::apply(), QSvgFontStyle::apply(), QSvgStrokeStyle::apply(), QSvgAnimateColor::apply(), QSvgCompOpStyle::apply(), compop, QList< T >::constBegin(), QList< T >::constEnd(), QSvgTinyDocument::currentElapsed(), QSvgNode::document(), fill, font, QList< T >::isEmpty(), opacity, quality, QSvgAnimateTransform::Replace, stroke, and viewportFill.

Referenced by QSvgNode::applyStyle().

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

◆ revert()

void QSvgStyle::revert ( QPainter * p,
QSvgExtraStates & states )

Definition at line 579 of file qsvgstyle.cpp.

References animateColor, animateTransforms, compop, QList< T >::constBegin(), QList< T >::constEnd(), fill, font, QList< T >::isEmpty(), opacity, quality, QSvgQualityStyle::revert(), QSvgOpacityStyle::revert(), QSvgFillStyle::revert(), QSvgViewportFillStyle::revert(), QSvgFontStyle::revert(), QSvgStrokeStyle::revert(), QSvgAnimateColor::revert(), QSvgCompOpStyle::revert(), stroke, and viewportFill.

Referenced by QSvgNode::revertStyle().

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

Member Data Documentation

◆ animateColor

QSvgRefCounter<QSvgAnimateColor> QSvgStyle::animateColor

◆ animateTransforms

QList<QSvgRefCounter<QSvgAnimateTransform> > QSvgStyle::animateTransforms

◆ compop

QSvgRefCounter<QSvgCompOpStyle> QSvgStyle::compop

◆ fill

◆ font

◆ gradient

QSvgRefCounter<QSvgGradientStyle> QSvgStyle::gradient

Definition at line 776 of file qsvgstyle_p.h.

Referenced by QSvgNode::appendStyleProperty(), and QSvgNode::styleProperty().

◆ opacity

QSvgRefCounter<QSvgOpacityStyle> QSvgStyle::opacity

◆ pattern

QSvgRefCounter<QSvgPatternStyle> QSvgStyle::pattern

Definition at line 777 of file qsvgstyle_p.h.

Referenced by QSvgNode::appendStyleProperty(), and QSvgNode::styleProperty().

◆ quality

QSvgRefCounter<QSvgQualityStyle> QSvgStyle::quality

◆ solidColor

QSvgRefCounter<QSvgSolidColorStyle> QSvgStyle::solidColor

Definition at line 775 of file qsvgstyle_p.h.

Referenced by QSvgNode::appendStyleProperty(), and QSvgNode::styleProperty().

◆ stroke

QSvgRefCounter<QSvgStrokeStyle> QSvgStyle::stroke

◆ transform

◆ viewportFill

QSvgRefCounter<QSvgViewportFillStyle> QSvgStyle::viewportFill

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