Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathPointMergeCommand.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2009 Jan Hambrecht <jaham@gmx.net>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KOPATHPOINTMERGECOMMAND_H
8#define KOPATHPOINTMERGECOMMAND_H
9
10#include <kundo2command.h>
11
12#include "kritaflake_export.h"
13
14class KoPathPointData;
15
17class KRITAFLAKE_EXPORT KoPathPointMergeCommand : public KUndo2Command
18{
19public:
29 KoPathPointMergeCommand(const KoPathPointData &pointData1, const KoPathPointData &pointData2, KUndo2Command *parent = 0);
30 ~KoPathPointMergeCommand() override;
31
33 void redo() override;
35 void undo() override;
36
37 KoPathPointData mergedPointData() const;
38
39private:
40
41 class Private;
42 Private * const d;
43};
44
45#endif // KOPATHPOINTMERGECOMMAND_H
virtual void undo()
virtual void redo()
Describe a KoPathPoint by a KoPathShape and its indices.
The undo / redo command for merging two subpath end points.