|
Krita Source Code Documentation
|
#include <KoLabDarkenColorTransformation.h>
Inheritance diagram for KoLabDarkenColorTransformation< _lab_channels_type_ >:Public Member Functions | |
| KoLabDarkenColorTransformation (qint32 shade, bool compensate, qreal compensation, const KoColorSpace *colorspace) | |
| void | transform (const quint8 *src, quint8 *dst, qint32 nPixels) const override |
Public Member Functions inherited from KoColorTransformation | |
| virtual bool | isValid () const |
| virtual int | parameterId (const QString &name) const |
| virtual QList< QString > | parameters () const |
| virtual void | setParameter (int id, const QVariant ¶meter) |
| void | setParameters (const QHash< QString, QVariant > ¶meters) |
| virtual | ~KoColorTransformation () |
Public Attributes | |
| const KoColorSpace * | m_colorSpace {0} |
| bool | m_compensate {false} |
| qreal | m_compensation {0.0} |
| const KoColorConversionTransformation * | m_defaultFromLab {0} |
| const KoColorConversionTransformation * | m_defaultToLab {0} |
| qint32 | m_shade {0} |
Definition at line 19 of file KoLabDarkenColorTransformation.h.
|
inline |
Definition at line 20 of file KoLabDarkenColorTransformation.h.
|
inlineoverridevirtual |
This function apply the transformation on a given number of pixels.
| src | a pointer to the source pixels |
| dst | a pointer to the destination pixels |
| nPixels | the number of pixels |
This function may or may not be thread safe. You need to create one KoColorTransformation per thread.
Implements KoColorTransformation.
Definition at line 28 of file KoLabDarkenColorTransformation.h.
References KoColorSpace::fromQColor(), KoLabDarkenColorTransformation< _lab_channels_type_ >::m_colorSpace, KoLabDarkenColorTransformation< _lab_channels_type_ >::m_compensate, KoLabDarkenColorTransformation< _lab_channels_type_ >::m_compensation, KoLabDarkenColorTransformation< _lab_channels_type_ >::m_shade, KoColorSpace::pixelSize(), and KoColorSpace::toQColor().
| const KoColorSpace* KoLabDarkenColorTransformation< _lab_channels_type_ >::m_colorSpace {0} |
Definition at line 50 of file KoLabDarkenColorTransformation.h.
| bool KoLabDarkenColorTransformation< _lab_channels_type_ >::m_compensate {false} |
Definition at line 54 of file KoLabDarkenColorTransformation.h.
| qreal KoLabDarkenColorTransformation< _lab_channels_type_ >::m_compensation {0.0} |
Definition at line 55 of file KoLabDarkenColorTransformation.h.
| const KoColorConversionTransformation* KoLabDarkenColorTransformation< _lab_channels_type_ >::m_defaultFromLab {0} |
Definition at line 52 of file KoLabDarkenColorTransformation.h.
| const KoColorConversionTransformation* KoLabDarkenColorTransformation< _lab_channels_type_ >::m_defaultToLab {0} |
Definition at line 51 of file KoLabDarkenColorTransformation.h.
| qint32 KoLabDarkenColorTransformation< _lab_channels_type_ >::m_shade {0} |
Definition at line 53 of file KoLabDarkenColorTransformation.h.