Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathPointInsertCommand.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 KOPATHPOINTINSERTCOMMAND_H
9
#define KOPATHPOINTINSERTCOMMAND_H
10
11
#include <
kundo2command.h
>
12
#include <QList>
13
#include "
KoPathPointData.h
"
14
#include "kritaflake_export.h"
15
16
class
KoPathPointInsertCommandPrivate
;
17
class
KoPathPoint
;
18
20
class
KRITAFLAKE_EXPORT
KoPathPointInsertCommand
:
public
KUndo2Command
21
{
22
public
:
34
KoPathPointInsertCommand
(
const
QList<KoPathPointData>
&pointDataList, qreal insertPosition,
KUndo2Command
*parent = 0);
35
~KoPathPointInsertCommand
()
override
;
36
38
void
redo
()
override
;
40
void
undo
()
override
;
41
43
QList<KoPathPoint*>
insertedPoints()
const
;
44
45
private
:
46
KoPathPointInsertCommandPrivate
*
const
d
;
47
};
48
49
#endif
// KOPATHPOINTINSERTCOMMAND_H
KoPathPointData.h
KUndo2Command
Definition
kundo2stack.h:87
KUndo2Command::undo
virtual void undo()
Definition
kundo2stack.cpp:240
KUndo2Command::redo
virtual void redo()
Definition
kundo2stack.cpp:222
KoPathPointInsertCommandPrivate
Definition
KoPathPointInsertCommand.cpp:15
KoPathPointInsertCommand
The undo / redo command for inserting path points.
Definition
KoPathPointInsertCommand.h:21
KoPathPointInsertCommand::d
KoPathPointInsertCommandPrivate *const d
Definition
KoPathPointInsertCommand.h:46
KoPathPoint
A KoPathPoint represents a point in a path.
Definition
KoPathPoint.cpp:25
QList
Definition
KisQStringListFwd.h:16
kundo2command.h
libs
flake
commands
KoPathPointInsertCommand.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52