Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathFillRuleCommand.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2007 Jan Hambrecht <jaham@gmx.net>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KOPATHFILLRULECOMMAND_H
8#define KOPATHFILLRULECOMMAND_H
9
10#include "kritaflake_export.h"
11
12#include <kundo2command.h>
13#include <QList>
14
15class KoPathShape;
16
18class KRITAFLAKE_EXPORT KoPathFillRuleCommand : public KUndo2Command
19{
20public:
27 KoPathFillRuleCommand(const QList<KoPathShape*> &shapes, Qt::FillRule fillRule, KUndo2Command *parent = 0);
28 ~KoPathFillRuleCommand() override;
30 void redo() override;
32 void undo() override;
33private:
34 class Private;
35 Private * const d;
36};
37
38#endif // KOPATHFILLRULECOMMAND_H
virtual void undo()
virtual void redo()
The undo / redo command for setting the fill rule of a path shape.
The position of a path point within a path shape.
Definition KoPathShape.h:63