Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeRunAroundCommand.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2008 Thorsten Zachmann <zachmann@kde.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KOSHAPERUNAROUNDCOMMAND_H
8#define KOSHAPERUNAROUNDCOMMAND_H
9
10#include "kritaflake_export.h"
11#include <kundo2command.h>
12
13#include "KoShape.h"
14
16class KRITAFLAKE_EXPORT KoShapeRunAroundCommand : public KUndo2Command
17{
18public:
19 KoShapeRunAroundCommand(KoShape *shape, KoShape::TextRunAroundSide side, int runThrough, qreal distanceLeft, qreal distanceTop, qreal distanceRight, qreal distanceBottom, qreal threshold, KoShape::TextRunAroundContour contour, KUndo2Command *parent = 0);
20 ~KoShapeRunAroundCommand() override;
21
23 void redo() override;
25 void undo() override;
26
27private:
28 class Private;
29 Private * const d;
30};
31
32#endif /* KOSHAPERUNAROUNDCOMMAND_H */
virtual void undo()
virtual void redo()
TextRunAroundContour
The behavior text should do when intersecting this shape.
Definition KoShape.h:131
TextRunAroundSide
The behavior text should do when intersecting this shape.
Definition KoShape.h:120