13 bool useDullingMode,
bool useOverlayMode)
24 const QPointF &cursorPoint, QRect *dstDabRect, qreal lightnessStrength)
27 static KoColor color(Qt::black, cs);
DabColoringStrategy & coloringStrategy() override
void updateMask(KisDabCache *dabCache, const KisPaintInformation &info, const KisDabShape &shape, const QPointF &cursorPoint, QRect *dstDabRect, qreal lightnessStrength) override
KisColorSmudgeStrategyMask(KisPainter *painter, KisImageSP image, bool smearAlpha, bool useDullingMode, bool useOverlayMode)
DabColoringStrategyMask m_coloringStrategy
bool m_shouldPreserveMaskDab
KisFixedPaintDeviceSP m_maskDab
The KisDabCache class provides caching for dabs into the brush paintop.
bool needSeparateOriginal() const
KisFixedPaintDeviceSP fetchDab(const KoColorSpace *cs, KisColorSource *colorSource, const QPointF &cursorPoint, KisDabShape const &, const KisPaintInformation &info, qreal softnessFactor, QRect *dstDabRect, qreal lightnessStrength=1.0)
static KoColorSpaceRegistry * instance()
const KoColorSpace * alpha8()