Krita Source Code Documentation
Loading...
Searching...
No Matches
KoMultiPathPointMergeCommand.h
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
7
#ifndef KOMULTIPATHPOINTMERGECOMMAND_H
8
#define KOMULTIPATHPOINTMERGECOMMAND_H
9
10
#include <
kundo2command.h
>
11
12
#include "kritaflake_export.h"
13
#include <QScopedPointer>
14
15
class
KoSelection
;
16
class
KoPathShape
;
17
class
KoPathPointData
;
18
class
KoShapeControllerBase
;
19
20
21
class
KRITAFLAKE_EXPORT
KoMultiPathPointMergeCommand
:
public
KUndo2Command
22
{
23
public
:
24
KoMultiPathPointMergeCommand
(
const
KoPathPointData
&pointData1,
25
const
KoPathPointData
&pointData2,
26
KoShapeControllerBase
*controller,
27
KoSelection
*selection,
28
KUndo2Command
*parent = 0);
29
~KoMultiPathPointMergeCommand
()
override
;
30
31
void
undo
()
override
;
32
void
redo
()
override
;
33
34
KoPathShape
*testingCombinedPath()
const
;
35
36
protected
:
37
virtual
KUndo2Command
*createMergeCommand(
const
KoPathPointData
&pointData1,
38
const
KoPathPointData
&pointData2);
39
private
:
40
struct
Private
;
41
const
QScopedPointer<Private>
m_d
;
42
};
43
44
#endif
// KOMULTIPATHPOINTMERGECOMMAND_H
KUndo2Command
Definition
kundo2stack.h:87
KUndo2Command::undo
virtual void undo()
Definition
kundo2stack.cpp:240
KUndo2Command::redo
virtual void redo()
Definition
kundo2stack.cpp:222
KoPathPointData
Describe a KoPathPoint by a KoPathShape and its indices.
Definition
KoPathPointData.h:18
KoPathShape
The position of a path point within a path shape.
Definition
KoPathShape.h:63
KoSelection
Definition
KoSelection.h:38
KoShapeControllerBase
Definition
KoShapeControllerBase.h:31
kundo2command.h
Private
Definition
SvgTransformParser.cpp:20
KoMultiPathPointMergeCommand
Definition
KoMultiPathPointMergeCommand.cpp:18
KoMultiPathPointMergeCommand::m_d
const QScopedPointer< Private > m_d
Definition
KoMultiPathPointMergeCommand.h:41
libs
flake
commands
KoMultiPathPointMergeCommand.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52