Changeset View
Changeset View
Standalone View
Standalone View
libs/pigment/KoColorTransformation.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 48 | public: | |||
---|---|---|---|---|---|
55 | * @param nPixels the number of pixels | 55 | * @param nPixels the number of pixels | ||
56 | * | 56 | * | ||
57 | * This function may or may not be thread safe. You need to create one | 57 | * This function may or may not be thread safe. You need to create one | ||
58 | * KoColorTransformation per thread. | 58 | * KoColorTransformation per thread. | ||
59 | */ | 59 | */ | ||
60 | virtual void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const = 0; | 60 | virtual void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const = 0; | ||
61 | 61 | | |||
62 | /** | 62 | /** | ||
63 | * @return the list of parmeters | 63 | * @return the list of parameters | ||
64 | */ | 64 | */ | ||
65 | virtual QList<QString> parameters() const; | 65 | virtual QList<QString> parameters() const; | ||
66 | /** | 66 | /** | ||
67 | * Get the parameter id for a parameter name | 67 | * Get the parameter id for a parameter name | ||
68 | */ | 68 | */ | ||
69 | virtual int parameterId(const QString& name) const; | 69 | virtual int parameterId(const QString& name) const; | ||
70 | 70 | | |||
71 | void setParameters(const QHash<QString, QVariant> & parameters); | 71 | void setParameters(const QHash<QString, QVariant> & parameters); | ||
Show All 11 Lines |