Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathCombineCommand.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2006 Jan Hambrecht <jaham@gmx.net>
3 * SPDX-FileCopyrightText: 2006, 2007 Thorsten Zachmann <zachmann@kde.org>
4 *
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7
8#ifndef KOPATHCOMBINECOMMAND_H
9#define KOPATHCOMBINECOMMAND_H
10
11#include <kundo2command.h>
12#include <QList>
13#include "kritaflake_export.h"
14
16class KoPathShape;
17class KoPathPointData;
18
20class KRITAFLAKE_EXPORT KoPathCombineCommand : public KUndo2Command
21{
22public:
30 ~KoPathCombineCommand() override;
32 void redo() override;
34 void undo() override;
35
37 KoPathPointData originalToCombined(KoPathPointData pd) const;
38
39private:
40 class Private;
41 Private * const d;
42};
43
44#endif // KOPATHCOMBINECOMMAND_H
virtual void undo()
virtual void redo()
The undo / redo command for combining two or more paths into one.
KoPathShape * combinedPath() const
Describe a KoPathPoint by a KoPathShape and its indices.
The position of a path point within a path shape.
Definition KoPathShape.h:63