Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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< QSvgTransformStyletransform
 
QSvgRefCounter< QSvgAnimateColoranimateColor
 
QList< QSvgRefCounter< QSvgAnimateTransform > > animateTransforms
 
QSvgRefCounter< QSvgOpacityStyleopacity
 
QSvgRefCounter< QSvgCompOpStylecompop
 

Detailed Description

Definition at line 723 of file qsvgstyle_p.h.

Constructor & Destructor Documentation

◆ QSvgStyle()

QSvgStyle::QSvgStyle ( )
inline

Definition at line 726 of file qsvgstyle_p.h.

◆ ~QSvgStyle()

QSvgStyle::~QSvgStyle ( )

Definition at line 492 of file qsvgstyle.cpp.

Member Function Documentation

◆ apply()

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

Definition at line 496 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 560 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

QSvgRefCounter<QSvgFillStyle> QSvgStyle::fill

◆ font

QSvgRefCounter<QSvgFontStyle> QSvgStyle::font

◆ gradient

QSvgRefCounter<QSvgGradientStyle> QSvgStyle::gradient

Definition at line 749 of file qsvgstyle_p.h.

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

◆ opacity

QSvgRefCounter<QSvgOpacityStyle> QSvgStyle::opacity

◆ quality

QSvgRefCounter<QSvgQualityStyle> QSvgStyle::quality

◆ solidColor

QSvgRefCounter<QSvgSolidColorStyle> QSvgStyle::solidColor

Definition at line 748 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: