Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathBaseCommand.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 KOPATHBASECOMMAND_H
9#define KOPATHBASECOMMAND_H
10
11#include <kundo2command.h>
12#include <QSet>
13
14class KoPathShape;
15
18{
19public:
23 explicit KoPathBaseCommand(KUndo2Command *parent = 0);
24
29 explicit KoPathBaseCommand(KoPathShape *shape, KUndo2Command *parent = 0);
30
31protected:
36 void repaint(bool normalizeShapes);
37
38 QSet<KoPathShape*> m_shapes;
39};
40
41#endif // KOPATHBASECOMMAND_H
the base command for commands altering a path shape
KoPathBaseCommand(KUndo2Command *parent=0)
QSet< KoPathShape * > m_shapes
the shapes the command operates on
void repaint(bool normalizeShapes)
The position of a path point within a path shape.
Definition KoPathShape.h:63