Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeShearCommand.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2006 Thomas Zander <zander@kde.org>
3 * SPDX-FileCopyrightText: 2006 Jan Hambrecht <jaham@gmx.net>
4 *
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7
8#ifndef KOSHAPESHEARCOMMAND_H
9#define KOSHAPESHEARCOMMAND_H
10
11#include "kritaflake_export.h"
12
13#include <kundo2command.h>
14#include <QList>
15
16class KoShape;
18
20class KRITAFLAKE_EXPORT KoShapeShearCommand : public KUndo2Command
21{
22public:
35 KoShapeShearCommand(const QList<KoShape*> &shapes, const QList<qreal> &previousShearXs, const QList<qreal> &previousShearYs, const QList<qreal> &newShearXs, const QList<qreal> &newShearYs, KUndo2Command *parent = 0);
36
37 ~KoShapeShearCommand() override;
39 void redo() override;
41 void undo() override;
42
43private:
45};
46
47#endif
virtual void undo()
virtual void redo()
The undo / redo command for shape shearing.
KoShapeShearCommandPrivate *const d