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: 2008 Boudewijn Rempt <[email protected]>
* SPDX-FileCopyrightText: 2008, 2009 Lukáš Tvrdý <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KIS_DEFORM_PAINTOP_SETTINGS_H_
#define KIS_DEFORM_PAINTOP_SETTINGS_H_
#include <QScopedPointer>
#include <brushengine/kis_paintop_settings.h>
#include <kis_types.h>
#include <kis_outline_generation_policy.h>
class KisDeformPaintOpSettings : public KisOutlineGenerationPolicy<KisPaintOpSettings>
{
public:
KisDeformPaintOpSettings(KisResourcesInterfaceSP resourcesInterface);
~KisDeformPaintOpSettings() override;
void setPaintOpSize(qreal value) override;
qreal paintOpSize() const override;
void setPaintOpAngle(qreal value) override;
qreal paintOpAngle() const override;
KisOptimizedBrushOutline brushOutline(const KisPaintInformation &info, const OutlineMode &mode, qreal alignForZoom) override;
bool paintIncremental() override;
bool isAirbrushing() const override;
QList<KisUniformPaintOpPropertySP> uniformProperties(KisPaintOpSettingsSP settings, QPointer<KisPaintOpPresetUpdateProxy> updateProxy) override;
private:
struct Private;
const QScopedPointer<Private> m_d;
};
#endif