|
Krita Source Code Documentation
|
#include <KisGradientMapFilterNearestCachedGradient.h>
Public Member Functions | |
| const quint8 * | cachedAt (qreal t) const |
| gets the color data at position 0 <= t <= 1 | |
| KisGradientMapFilterNearestCachedGradient (const KoAbstractGradientSP gradient, qint32 steps, const KoColorSpace *cs) | |
Private Attributes | |
| const KoColor | m_black |
| QVector< KoColor > | m_colors |
| const qint32 | m_max |
Definition at line 19 of file KisGradientMapFilterNearestCachedGradient.h.
| KisGradientMapFilterNearestCachedGradient::KisGradientMapFilterNearestCachedGradient | ( | const KoAbstractGradientSP | gradient, |
| qint32 | steps, | ||
| const KoColorSpace * | cs ) |
Definition at line 17 of file KisGradientMapFilterNearestCachedGradient.cpp.
References KoGradientStop::color, KoColor::convertedTo(), KoGradientSegment::endColor(), KoGradientSegment::endOffset(), m_black, m_colors, m_max, KoGradientStop::position, KoSegmentGradient::segmentAt(), KoGradientSegment::startColor(), KoGradientSegment::startOffset(), and KoStopGradient::stopsAt().
| const quint8 * KisGradientMapFilterNearestCachedGradient::cachedAt | ( | qreal | t | ) | const |
gets the color data at position 0 <= t <= 1
Definition at line 55 of file KisGradientMapFilterNearestCachedGradient.cpp.
References KoColor::data(), m_black, m_colors, and m_max.
|
private |
Definition at line 30 of file KisGradientMapFilterNearestCachedGradient.h.
Definition at line 29 of file KisGradientMapFilterNearestCachedGradient.h.
|
private |
Definition at line 28 of file KisGradientMapFilterNearestCachedGradient.h.