Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSvgStyleResolver Class Reference
Collaboration diagram for QSvgStyleResolver:

Public Member Functions

 QSvgStyleResolver (const QSvgDocument *doc)
 ~QSvgStyleResolver ()
QPainter & painter ()
QSvgExtraStates & states ()
QColor currentFillColor () const
qreal currentFillOpacity () const
const QGradient * currentStrokeGradient () const
const QGradient * currentFillGradient () const
QTransform currentFillTransform () const
QColor currentStrokeColor () const
float currentStrokeWidth () const
QPen currentStroke () const
 QSvgStyleResolver (const QSvgDocument *doc)
 ~QSvgStyleResolver ()
QPainter & painter ()
QSvgExtraStates & states ()
QColor currentFillColor () const
qreal currentFillOpacity () const
const QGradient * currentStrokeGradient () const
const QGradient * currentFillGradient () const
QTransform currentFillTransform () const
QColor currentStrokeColor () const
float currentStrokeWidth () const
QPen currentStroke () const

Static Public Member Functions

static QGradient applyOpacityToGradient (const QGradient &gradient, float opacity)
static QGradient applyOpacityToGradient (const QGradient &gradient, float opacity)

Protected Attributes

QPainter m_dummyPainter
QImage m_dummyImage
QSvgExtraStates m_svgState

Detailed Description

Definition at line 45 of file qsvgvisitorimpl.cpp.

Constructor & Destructor Documentation

◆ QSvgStyleResolver() [1/2]

QSvgStyleResolver::QSvgStyleResolver ( const QSvgDocument * doc)
inlineexplicit

Definition at line 48 of file qsvgvisitorimpl.cpp.

References QSvgStyleResolver().

Referenced by QSvgStyleResolver().

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

◆ ~QSvgStyleResolver() [1/2]

QSvgStyleResolver::~QSvgStyleResolver ( )
inline

Definition at line 59 of file qsvgvisitorimpl.cpp.

◆ QSvgStyleResolver() [2/2]

QSvgStyleResolver::QSvgStyleResolver ( const QSvgDocument * doc)
inlineexplicit

Definition at line 48 of file qsvgvisitorimpl.cpp.

◆ ~QSvgStyleResolver() [2/2]

QSvgStyleResolver::~QSvgStyleResolver ( )
inline

Definition at line 59 of file qsvgvisitorimpl.cpp.

Member Function Documentation

◆ applyOpacityToGradient() [1/2]

QGradient QSvgStyleResolver::applyOpacityToGradient ( const QGradient & gradient,
float opacity )
inlinestatic

Definition at line 123 of file qsvgvisitorimpl.cpp.

◆ applyOpacityToGradient() [2/2]

QGradient QSvgStyleResolver::applyOpacityToGradient ( const QGradient & gradient,
float opacity )
inlinestatic

Definition at line 123 of file qsvgvisitorimpl.cpp.

◆ currentFillColor() [1/2]

QColor QSvgStyleResolver::currentFillColor ( ) const
inline

Definition at line 67 of file qsvgvisitorimpl.cpp.

◆ currentFillColor() [2/2]

QColor QSvgStyleResolver::currentFillColor ( ) const
inline

Definition at line 67 of file qsvgvisitorimpl.cpp.

◆ currentFillGradient() [1/2]

const QGradient * QSvgStyleResolver::currentFillGradient ( ) const
inline

Definition at line 97 of file qsvgvisitorimpl.cpp.

◆ currentFillGradient() [2/2]

const QGradient * QSvgStyleResolver::currentFillGradient ( ) const
inline

Definition at line 97 of file qsvgvisitorimpl.cpp.

◆ currentFillOpacity() [1/2]

qreal QSvgStyleResolver::currentFillOpacity ( ) const
inline

Definition at line 81 of file qsvgvisitorimpl.cpp.

◆ currentFillOpacity() [2/2]

qreal QSvgStyleResolver::currentFillOpacity ( ) const
inline

Definition at line 81 of file qsvgvisitorimpl.cpp.

◆ currentFillTransform() [1/2]

QTransform QSvgStyleResolver::currentFillTransform ( ) const
inline

Definition at line 104 of file qsvgvisitorimpl.cpp.

◆ currentFillTransform() [2/2]

QTransform QSvgStyleResolver::currentFillTransform ( ) const
inline

Definition at line 104 of file qsvgvisitorimpl.cpp.

◆ currentStroke() [1/2]

QPen QSvgStyleResolver::currentStroke ( ) const
inline

Definition at line 143 of file qsvgvisitorimpl.cpp.

◆ currentStroke() [2/2]

QPen QSvgStyleResolver::currentStroke ( ) const
inline

Definition at line 143 of file qsvgvisitorimpl.cpp.

◆ currentStrokeColor() [1/2]

QColor QSvgStyleResolver::currentStrokeColor ( ) const
inline

Definition at line 109 of file qsvgvisitorimpl.cpp.

◆ currentStrokeColor() [2/2]

QColor QSvgStyleResolver::currentStrokeColor ( ) const
inline

Definition at line 109 of file qsvgvisitorimpl.cpp.

◆ currentStrokeGradient() [1/2]

const QGradient * QSvgStyleResolver::currentStrokeGradient ( ) const
inline

Definition at line 86 of file qsvgvisitorimpl.cpp.

◆ currentStrokeGradient() [2/2]

const QGradient * QSvgStyleResolver::currentStrokeGradient ( ) const
inline

Definition at line 86 of file qsvgvisitorimpl.cpp.

◆ currentStrokeWidth() [1/2]

float QSvgStyleResolver::currentStrokeWidth ( ) const
inline

Definition at line 137 of file qsvgvisitorimpl.cpp.

◆ currentStrokeWidth() [2/2]

float QSvgStyleResolver::currentStrokeWidth ( ) const
inline

Definition at line 137 of file qsvgvisitorimpl.cpp.

◆ painter() [1/2]

QPainter & QSvgStyleResolver::painter ( )
inline

Definition at line 64 of file qsvgvisitorimpl.cpp.

◆ painter() [2/2]

QPainter & QSvgStyleResolver::painter ( )
inline

Definition at line 64 of file qsvgvisitorimpl.cpp.

◆ states() [1/2]

QSvgExtraStates & QSvgStyleResolver::states ( )
inline

Definition at line 65 of file qsvgvisitorimpl.cpp.

◆ states() [2/2]

QSvgExtraStates & QSvgStyleResolver::states ( )
inline

Definition at line 65 of file qsvgvisitorimpl.cpp.

Member Data Documentation

◆ m_dummyImage

QImage QSvgStyleResolver::m_dummyImage
protected

Definition at line 150 of file qsvgvisitorimpl.cpp.

◆ m_dummyPainter

QPainter QSvgStyleResolver::m_dummyPainter
protected

Definition at line 149 of file qsvgvisitorimpl.cpp.

◆ m_svgState

QSvgExtraStates QSvgStyleResolver::m_svgState
protected

Definition at line 151 of file qsvgvisitorimpl.cpp.


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