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

#include <qsvgstyle_p.h>

Inheritance diagram for QSvgOpacityStyle:
Collaboration diagram for QSvgOpacityStyle:

Public Member Functions

 QSvgOpacityStyle (qreal opacity)
void apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states) override
void revert (QPainter *p, QSvgExtraStates &states) override
Type type () const override
qreal opacity () const
bool isDefault () const
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
}

Detailed Description

Definition at line 200 of file qsvgstyle_p.h.

Constructor & Destructor Documentation

◆ QSvgOpacityStyle()

QSvgOpacityStyle::QSvgOpacityStyle ( qreal opacity)

Definition at line 511 of file qsvgstyle.cpp.

Member Function Documentation

◆ apply()

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

Implements QSvgStyleProperty.

Definition at line 517 of file qsvgstyle.cpp.

◆ isDefault()

bool QSvgOpacityStyle::isDefault ( ) const
inline

Definition at line 208 of file qsvgstyle_p.h.

◆ opacity()

qreal QSvgOpacityStyle::opacity ( ) const
inline

Definition at line 207 of file qsvgstyle_p.h.

◆ revert()

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

Implements QSvgStyleProperty.

Definition at line 523 of file qsvgstyle.cpp.

◆ type()

QSvgStyleProperty::Type QSvgOpacityStyle::type ( ) const
overridevirtual

Implements QSvgStyleProperty.

Definition at line 528 of file qsvgstyle.cpp.


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