Krita Source Code Documentation
Loading...
Searching...
No Matches
KisColorSmudgeStrategyStamp.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_KISCOLORSMUDGESTRATEGYSTAMP_H
8#define KRITA_KISCOLORSMUDGESTRATEGYSTAMP_H
9
11
13{
15 KisImageSP image,
16 bool smearAlpha,
17 bool useDullingMode,
18 bool useOverlayMode);
19
21
22 void updateMask(KisDabCache *dabCache,
23 const KisPaintInformation& info,
24 const KisDabShape &shape,
25 const QPointF &cursorPoint,
26 QRect *dstDabRect,
27 qreal lightnessStrength) override;
28
29private:
32};
33
34
35#endif //KRITA_KISCOLORSMUDGESTRATEGYSTAMP_H
The KisDabCache class provides caching for dabs into the brush paintop.
void updateMask(KisDabCache *dabCache, const KisPaintInformation &info, const KisDabShape &shape, const QPointF &cursorPoint, QRect *dstDabRect, qreal lightnessStrength) override
DabColoringStrategy & coloringStrategy() override
DabColoringStrategyStamp m_coloringStrategy
KisColorSmudgeStrategyStamp(KisPainter *painter, KisImageSP image, bool smearAlpha, bool useDullingMode, bool useOverlayMode)