QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskStippleMetrics Class Reference

Detailed Description

Definition at line 17 of file QskStippleMetrics.h.

Properties

qreal offset
 
QVector< qreal > pattern
 

Public Member Functions

 QskStippleMetrics (Qt::PenStyle=Qt::SolidLine)
 
 QskStippleMetrics (const QPen &)
 
 QskStippleMetrics (const QVector< qreal > &, qreal offset=0.0)
 
bool operator== (const QskStippleMetrics &) const noexcept
 
bool operator!= (const QskStippleMetrics &) const noexcept
 
bool isValid () const noexcept
 
bool isSolid () const noexcept
 
void setOffset (qreal offset) noexcept
 
qreal offset () const noexcept
 
void setPattern (const QVector< qreal > &)
 
QVector< qreal > pattern () const
 
QskStippleMetrics interpolated (const QskStippleMetrics &, qreal value) const
 
QskHashValue hash (QskHashValue seed=0) const noexcept
 

Static Public Member Functions

static QVariant interpolate (const QskStippleMetrics &, const QskStippleMetrics &, qreal progress)
 

Constructor & Destructor Documentation

◆ QskStippleMetrics() [1/3]

QskStippleMetrics::QskStippleMetrics ( Qt::PenStyle  penStyle = Qt::SolidLine)

Definition at line 57 of file QskStippleMetrics.cpp.

◆ QskStippleMetrics() [2/3]

QskStippleMetrics::QskStippleMetrics ( const QPen &  pen)

Definition at line 62 of file QskStippleMetrics.cpp.

◆ QskStippleMetrics() [3/3]

QskStippleMetrics::QskStippleMetrics ( const QVector< qreal > &  pattern,
qreal  offset = 0.0 
)
inline

Definition at line 54 of file QskStippleMetrics.h.

Member Function Documentation

◆ hash()

QskHashValue QskStippleMetrics::hash ( QskHashValue  seed = 0) const
noexcept

Definition at line 123 of file QskStippleMetrics.cpp.

◆ interpolate()

QVariant QskStippleMetrics::interpolate ( const QskStippleMetrics from,
const QskStippleMetrics to,
qreal  progress 
)
static

Definition at line 117 of file QskStippleMetrics.cpp.

◆ interpolated()

QskStippleMetrics QskStippleMetrics::interpolated ( const QskStippleMetrics to,
qreal  value 
) const

Definition at line 82 of file QskStippleMetrics.cpp.

◆ isSolid()

bool QskStippleMetrics::isSolid ( ) const
inlinenoexcept

Definition at line 89 of file QskStippleMetrics.h.

◆ isValid()

bool QskStippleMetrics::isValid ( ) const
inlinenoexcept

Definition at line 84 of file QskStippleMetrics.h.

◆ offset()

qreal QskStippleMetrics::offset ( ) const
inlinenoexcept

Definition at line 61 of file QskStippleMetrics.h.

◆ operator!=()

bool QskStippleMetrics::operator!= ( const QskStippleMetrics other) const
inlinenoexcept

Definition at line 78 of file QskStippleMetrics.h.

◆ operator==()

bool QskStippleMetrics::operator== ( const QskStippleMetrics other) const
inlinenoexcept

Definition at line 71 of file QskStippleMetrics.h.

◆ pattern()

QVector< qreal > QskStippleMetrics::pattern ( ) const
inline

Definition at line 66 of file QskStippleMetrics.h.

◆ setOffset()

void QskStippleMetrics::setOffset ( qreal  offset)
noexcept

Definition at line 77 of file QskStippleMetrics.cpp.

◆ setPattern()

void QskStippleMetrics::setPattern ( const QVector< qreal > &  pattern)

Definition at line 72 of file QskStippleMetrics.cpp.

Property Documentation

◆ offset

qreal QskStippleMetrics::offset
readwrite

Definition at line 21 of file QskStippleMetrics.h.

◆ pattern

QVector< qreal > QskStippleMetrics::pattern
readwrite

Definition at line 22 of file QskStippleMetrics.h.