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

#include <qsvgstyle_p.h>

Inheritance diagram for QSvgOffsetStyle:
Collaboration diagram for QSvgOffsetStyle:

Public Member Functions

 QSvgOffsetStyle ()=default
 ~QSvgOffsetStyle () override
void apply (QPainter *pp, const QSvgNode *node, QSvgExtraStates &statesstates) override
void revert (QPainter *pp, QSvgExtraStates &statesstates) override
Type type () const override
void setPath (const QPainterPath &pathpath)
const QPainterPath & path () const
void setRotateAngle (qreal angleangle)
qreal rotateAngle () const
void setRotateType (QtSvg::OffsetRotateType typetype)
QtSvg::OffsetRotateType rotateType () const
void setDistance (qreal distancedistance)
qreal distance () const
Public Member Functions inherited from QSvgStyleProperty
virtual ~QSvgStyleProperty ()
virtual bool isDefault () const

Additional Inherited Members

Public Types inherited from QSvgStyleProperty
enum  Type : quint8 {
  Quality , Fill , ViewportFill , Font ,
  Stroke , Transform , Opacity , CompOp ,
  Offset , NumTypes
}

Detailed Description

Definition at line 492 of file qsvgstyle_p.h.

Constructor & Destructor Documentation

◆ QSvgOffsetStyle()

QSvgOffsetStyle::QSvgOffsetStyle ( )
default

◆ ~QSvgOffsetStyle()

QSvgOffsetStyle::~QSvgOffsetStyle ( )
overridedefault

Member Function Documentation

◆ apply()

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

Implements QSvgStyleProperty.

Definition at line 448 of file qsvgstyle.cpp.

◆ distance()

qreal QSvgOffsetStyle::distance ( ) const
inline

Definition at line 537 of file qsvgstyle_p.h.

◆ path()

const QPainterPath & QSvgOffsetStyle::path ( ) const
inline

Definition at line 507 of file qsvgstyle_p.h.

◆ revert()

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

Implements QSvgStyleProperty.

Definition at line 452 of file qsvgstyle.cpp.

◆ rotateAngle()

qreal QSvgOffsetStyle::rotateAngle ( ) const
inline

Definition at line 517 of file qsvgstyle_p.h.

◆ rotateType()

QtSvg::OffsetRotateType QSvgOffsetStyle::rotateType ( ) const
inline

Definition at line 527 of file qsvgstyle_p.h.

◆ setDistance()

void QSvgOffsetStyle::setDistance ( qreal distance)
inline

Definition at line 532 of file qsvgstyle_p.h.

◆ setPath()

void QSvgOffsetStyle::setPath ( const QPainterPath & path)
inline

Definition at line 502 of file qsvgstyle_p.h.

◆ setRotateAngle()

void QSvgOffsetStyle::setRotateAngle ( qreal angle)
inline

Definition at line 512 of file qsvgstyle_p.h.

◆ setRotateType()

void QSvgOffsetStyle::setRotateType ( QtSvg::OffsetRotateType type)
inline

Definition at line 522 of file qsvgstyle_p.h.

◆ type()

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

Implements QSvgStyleProperty.

Definition at line 456 of file qsvgstyle.cpp.


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