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++
/* This file is part of the KDE project
SPDX-FileCopyrightText: 2007 Rob Buis <[email protected]>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KOSPIRALSHAPEFACTORY_H
#define KOSPIRALSHAPEFACTORY_H
#include "KoShapeFactoryBase.h"
class KoShape;
/// Factory for spiral shapes
class SpiralShapeFactory : public KoShapeFactoryBase
{
public:
/// constructor
SpiralShapeFactory();
~SpiralShapeFactory() override {}
KoShape *createDefaultShape(KoDocumentResourceManager *documentResources = 0) const override;
bool supports(const QDomElement &e, KoShapeLoadingContext &context) const override;
QList<KoShapeConfigWidgetBase *> createShapeOptionPanels() override;
};
#endif /* KOSPIRALSHAPEFACTORY_H */