Krita Source Code Documentation
Loading...
Searching...
No Matches
KoMultiPathPointJoinCommand.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
8
10
12 const KoPathPointData &pointData2,
13 KoShapeControllerBase *controller,
14 KoSelection *selection,
15 KUndo2Command *parent)
16 : KoMultiPathPointMergeCommand(pointData1, pointData2, controller, selection, parent)
17{
18 setText(kundo2_i18n("Join subpaths"));
19}
20
25
void setText(const KUndo2MagicString &text)
KUndo2Command * createMergeCommand(const KoPathPointData &pointData1, const KoPathPointData &pointData2) override
KoMultiPathPointJoinCommand(const KoPathPointData &pointData1, const KoPathPointData &pointData2, KoShapeControllerBase *controller, KoSelection *selection, KUndo2Command *parent=0)
Describe a KoPathPoint by a KoPathShape and its indices.
The undo / redo command for joining two subpath end points.
KUndo2MagicString kundo2_i18n(const char *text)