#include <KoSegmentGradient.h>
Definition at line 212 of file KoSegmentGradient.h.
◆ CurvedInterpolationStrategy()
| KoGradientSegment::CurvedInterpolationStrategy::CurvedInterpolationStrategy |
( |
| ) |
|
|
private |
◆ instance()
Definition at line 782 of file KoSegmentGradient.cpp.
783{
787 }
788
790}
CurvedInterpolationStrategy()
static CurvedInterpolationStrategy * m_instance
◆ type()
| int KoGradientSegment::CurvedInterpolationStrategy::type |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ valueAt()
| qreal KoGradientSegment::CurvedInterpolationStrategy::valueAt |
( |
qreal | t, |
|
|
qreal | middle ) const |
|
overridevirtual |
Implements KoGradientSegment::InterpolationStrategy.
Definition at line 792 of file KoSegmentGradient.cpp.
793{
794 Q_ASSERT(t > -DBL_EPSILON && t < 1 + DBL_EPSILON);
795 Q_ASSERT(middle > -DBL_EPSILON && middle < 1 + DBL_EPSILON);
796
798
799 if (middle < DBL_EPSILON) {
800 middle = DBL_EPSILON;
801 }
802
804
806}
float value(const T *src, size_t ch)
References value().
◆ m_instance
◆ m_logHalf
| qreal KoGradientSegment::CurvedInterpolationStrategy::m_logHalf |
|
private |
The documentation for this class was generated from the following files: