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++
765 B
Raw Blame
/*
 * This file is part of Krita
 *
 * SPDX-FileCopyrightText: 2020 L. E. Segovia <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#include <boost/none.hpp>
#include <QObject>
#include <QSharedPointer>
#include <kis_generator.h>
#include <kis_generator_layer.h>
#include <KisRunnableBasedStrokeStrategy.h>

class KisGeneratorStrokeStrategy: public QObject, public KisRunnableBasedStrokeStrategy
{
    Q_OBJECT
public:
    KisGeneratorStrokeStrategy();
    ~KisGeneratorStrokeStrategy() override;

    static QVector<KisStrokeJobData *> createJobsData(const KisGeneratorLayerSP layer, QSharedPointer<boost::none_t> cookie, const KisGeneratorSP f, const KisPaintDeviceSP dev, const QRegion &rc, const KisFilterConfigurationSP filterConfig);
};