Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
757 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2016 Dmitry Kazakov <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef __KIS_MULTIWAY_CUT_H
#define __KIS_MULTIWAY_CUT_H

#include <QScopedPointer>

#include "kis_types.h"
#include "kritaimage_export.h"

class KoColor;

class KRITAIMAGE_EXPORT KisMultiwayCut
{
public:
    KisMultiwayCut(KisPaintDeviceSP src,
                   KisPaintDeviceSP dst,
                   const QRect &boundingRect);
    ~KisMultiwayCut();

    void addKeyStroke(KisPaintDeviceSP dev, const KoColor &color);

    void run();

    KisPaintDeviceSP srcDevice() const;
    KisPaintDeviceSP dstDevice() const;

private:
    struct Private;
    const QScopedPointer<Private> m_d;
};

#endif /* __KIS_MULTIWAY_CUT_H */