16 bool smearAlpha,
bool useDullingMode,
32 sampleColor<AveragedSampleWrapper>(srcRect, sampleRadiusValue,
33 sourceDevice, tempFixedDevice,
34 maskDab, resultColor);
51 smudgeRateValue * opacity,
56 qreal maxPossibleSmudgeRateValue)
58 Q_UNUSED(smudgeRateValue);
60 const qreal maxColorRate = qMax<qreal>(1.0 - maxPossibleSmudgeRateValue, 0.2);
70 Q_UNUSED(smudgeRateValue);
78 Q_UNUSED(smudgeRateValue);
const qreal OPACITY_OPAQUE_F
const qreal OPACITY_TRANSPARENT_F
const QString COMPOSITE_OVER
const QString COMPOSITE_COPY
KisColorSmudgeStrategyMaskLegacy(KisPainter *painter, KisImageSP image, bool smearAlpha, bool useDullingMode, bool useOverlayMode)
qreal colorRateOpacity(qreal opacity, qreal smudgeRateValue, qreal colorRateValue, qreal maxPossibleSmudgeRateValue) override
void sampleDullingColor(const QRect &srcRect, qreal sampleRadiusValue, KisColorSmudgeSourceSP sourceDevice, KisFixedPaintDeviceSP tempFixedDevice, KisFixedPaintDeviceSP maskDab, KoColor *resultColor) override
qreal dullingRateOpacity(qreal opacity, qreal smudgeRateValue) override
qreal smearRateOpacity(qreal opacity, qreal smudgeRateValue) override
QString finalCompositeOp(bool smearAlpha) const override
qreal finalPainterOpacity(qreal opacity, qreal smudgeRateValue) override
QString smearCompositeOp(bool smearAlpha) const override
Point lerp(const Point &pt1, const Point &pt2, qreal t)