Krita Source Code Documentation
Loading...
Searching...
No Matches
KisColorSmudgeStrategyMask.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KRITA_KISCOLORSMUDGESTRATEGYMASK_H
8#define KRITA_KISCOLORSMUDGESTRATEGYMASK_H
9
11
13{
14public:
16 KisImageSP image,
17 bool smearAlpha,
18 bool useDullingMode,
19 bool useOverlayMode);
20
22
23 void updateMask(KisDabCache *dabCache,
24 const KisPaintInformation& info,
25 const KisDabShape &shape,
26 const QPointF &cursorPoint,
27 QRect *dstDabRect,
28 qreal lightnessStrength) override;
29
30private:
32};
33
34#endif //KRITA_KISCOLORSMUDGESTRATEGYMASK_H
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
The KisDabCache class provides caching for dabs into the brush paintop.