7#ifndef KRITA_KISCOLORSMUDGESTRATEGYLIGHTNESS_H
8#define KRITA_KISCOLORSMUDGESTRATEGYLIGHTNESS_H
10#include <QScopedPointer>
24 KisPaintThicknessOptionData::ThicknessMode thicknessMode);
33 const QPointF &cursorPoint,
34 QRect *dstDabRect, qreal lightnessStrength)
override;
37 qreal colorRateValue, qreal smudgeRateValue, qreal maxPossibleSmudgeRateValue,
38 qreal lightnessStrengthValue, qreal smudgeRadiusValue)
override;
KisPaintDeviceSP m_projectionDevice
DabColoringStrategy & coloringStrategy() override
KisPainter m_heightmapPainter
KisPaintDeviceSP m_colorOnlyDevice
KisPainter m_finalPainter
void initializePainting() override
KisFixedPaintDeviceSP m_maskDab
void updateMask(KisDabCache *dabCache, const KisPaintInformation &info, const KisDabShape &shape, const QPointF &cursorPoint, QRect *dstDabRect, qreal lightnessStrength) override
QScopedPointer< KisOverlayPaintDeviceWrapper > m_ownedOverlayDevice
KisColorSmudgeSourceSP m_sourceWrapperDevice
KisPainter * m_initializationPainter
DabColoringStrategyMask m_coloringStrategy
KisFixedPaintDeviceSP m_origDab
QVector< QRect > paintDab(const QRect &srcRect, const QRect &dstRect, const KoColor ¤tPaintColor, qreal opacity, qreal colorRateValue, qreal smudgeRateValue, qreal maxPossibleSmudgeRateValue, qreal lightnessStrengthValue, qreal smudgeRadiusValue) override
KisColorSmudgeStrategyLightness(KisPainter *painter, bool smearAlpha, bool useDullingMode, KisPaintThicknessOptionData::ThicknessMode thicknessMode)
KisOverlayPaintDeviceWrapper * m_layerOverlayDevice
KisPaintThicknessOptionData::ThicknessMode m_thicknessMode
KisPaintDeviceSP m_heightmapDevice
bool m_shouldPreserveOriginalDab
The KisDabCache class provides caching for dabs into the brush paintop.