Krita Source Code Documentation
Loading...
Searching...
No Matches
KisBrushEnclosingProducer.h
Go to the documentation of this file.
1/*
2 * KDE. Krita Project.
3 *
4 * SPDX-FileCopyrightText: 2022 Deif Lou <ginoba@gmail.com>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9#ifndef KISBRUSHENCLOSINGPRODUCER
10#define KISBRUSHENCLOSINGPRODUCER
11
12#include <kis_pixel_selection.h>
13
16
17class KisBrushEnclosingProducer : public KisDynamicDelegateTool<KisToolBasicBrushBase>
18{
19 Q_OBJECT
20
21public:
24
25 bool hasUserInteractionRunning() const;
26
27protected:
28 void finishStroke(const QPainterPath &stroke) override;
29 void beginShape() override;
30 void endShape() override;
31
32Q_SIGNALS:
34
35private:
37
38protected Q_SLOTS:
39 void resetCursorStyle() override;
40};
41
42#endif
KisBrushEnclosingProducer(KoCanvasBase *canvas)
void enclosingMaskProduced(KisPixelSelectionSP enclosingMask)
void finishStroke(const QPainterPath &stroke) override
KisCanvas2 * canvas