Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_multiway_cut.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2016 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KIS_MULTIWAY_CUT_H
8#define __KIS_MULTIWAY_CUT_H
9
10#include <QScopedPointer>
11
12#include "kis_types.h"
13#include "kritaimage_export.h"
14
15class KoColor;
16
17class KRITAIMAGE_EXPORT KisMultiwayCut
18{
19public:
22 const QRect &boundingRect);
24
25 void addKeyStroke(KisPaintDeviceSP dev, const KoColor &color);
26
27 void run();
28
29 KisPaintDeviceSP srcDevice() const;
30 KisPaintDeviceSP dstDevice() const;
31
32private:
33 struct Private;
34 const QScopedPointer<Private> m_d;
35};
36
37#endif /* __KIS_MULTIWAY_CUT_H */
const QScopedPointer< Private > m_d