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++
/*
* SPDX-FileCopyrightText: 2017 Dmitry Kazakov <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KISBRUSHOPRESOURCES_H
#define KISBRUSHOPRESOURCES_H
#include "KisDabCacheUtils.h"
#include <QScopedPointer>
class KisPainter;
class KisPaintInformation;
class KisBrushOpResources : public KisDabCacheUtils::DabRenderingResources
{
public:
KisBrushOpResources(const KisPaintOpSettingsSP settings, KisPainter *painter);
~KisBrushOpResources() override;
void syncResourcesToSeqNo(int seqNo, const KisPaintInformation &info) override;
private:
struct Private;
const QScopedPointer<Private> m_d;
};
#endif // KISBRUSHOPRESOURCES_H