40 if (!darkenTransformation)
return origColor;
43 delete darkenTransformation;
56 if (!darkenTransformation)
return;
59 delete darkenTransformation;
virtual void applyColorTransformation(const KoColorTransformation *transfo)=0
virtual const KoColorSpace * colorSpace() const =0
qreal computeSizeLikeValue(const KisPaintInformation &info, bool useStrengthValue=true) const
KoColor apply(KisPainter *painter, const KisPaintInformation &info) const
KisDarkenOption(const KisPropertiesConfiguration *setting)
void setPaintColor(const KoColor &color)
virtual KoColorTransformation * createDarkenAdjustment(qint32 shade, bool compensate, qreal compensation) const =0
const KoColorSpace * colorSpace() const
return the current colorSpace