File indexing completed on 2025-01-26 04:04:52

0001 /*
0002  *  SPDX-FileCopyrightText: 2017 Dmitry Kazakov <dimula73@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef KOMULTIPATHPOINTJOINCOMMAND_H
0008 #define KOMULTIPATHPOINTJOINCOMMAND_H
0009 
0010 #include <KoMultiPathPointMergeCommand.h>
0011 
0012 class KRITAFLAKE_EXPORT KoMultiPathPointJoinCommand : public KoMultiPathPointMergeCommand
0013 {
0014 public:
0015     KoMultiPathPointJoinCommand(const KoPathPointData &pointData1,
0016                                 const KoPathPointData &pointData2,
0017                                 KoShapeControllerBase *controller,
0018                                 KoSelection *selection,
0019                                 KUndo2Command *parent = 0);
0020 
0021 protected:
0022     KUndo2Command *createMergeCommand(const KoPathPointData &pointData1,
0023                                               const KoPathPointData &pointData2) override;
0024 };
0025 
0026 #endif // KOMULTIPATHPOINTJOINCOMMAND_H