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++
843 B
Raw Blame
/* This file is part of the KDE project
   SPDX-FileCopyrightText: 2006 Rob Buis <[email protected]>
   SPDX-FileCopyrightText: 2006 Thomas Zander <[email protected]>

   SPDX-License-Identifier: LGPL-2.0-or-later
*/

#ifndef KOPATHSHAPEFACTORY_H
#define KOPATHSHAPEFACTORY_H

#include "KoShapeFactoryBase.h"

class KoShape;

/// Factory for path shapes.
class KRITAFLAKE_EXPORT KoPathShapeFactory : public KoShapeFactoryBase
{
public:
    /// constructor
    KoPathShapeFactory(const QStringList&);
    ~KoPathShapeFactory() override {}
    KoShape *createDefaultShape(KoDocumentResourceManager *documentResources = 0) const override;
    bool supports(const QDomElement &element, KoShapeLoadingContext &context) const override;
    /// reimplemented
    void newDocumentResourceManager(KoDocumentResourceManager *manager) const override;
};

#endif