Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeClipCommand.h
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
* SPDX-FileCopyrightText: 2011 Jan Hambrecht <jaham@gmx.net>
3
*
4
* SPDX-License-Identifier: LGPL-2.0-or-later
5
*/
6
7
#ifndef KOSHAPECLIPCOMMAND_H
8
#define KOSHAPECLIPCOMMAND_H
9
10
#include "kritaflake_export.h"
11
#include <
kundo2command.h
>
12
#include <QList>
13
14
class
KoShape
;
15
class
KoPathShape
;
16
class
KoShapeControllerBase
;
17
19
class
KRITAFLAKE_EXPORT
KoShapeClipCommand
:
public
KUndo2Command
20
{
21
public
:
29
KoShapeClipCommand
(
KoShapeControllerBase
*controller,
const
QList<KoShape*>
&shapes,
const
QList<KoPathShape*>
&clipPathShapes,
KUndo2Command
*parent = 0);
30
38
KoShapeClipCommand
(
KoShapeControllerBase
*controller,
KoShape
*shape,
const
QList<KoPathShape*>
&clipPathShapes,
KUndo2Command
*parent = 0);
39
41
~KoShapeClipCommand
()
override
;
42
44
void
redo
()
override
;
46
void
undo
()
override
;
47
48
private
:
49
class
Private
;
50
Private
*
const
d
;
51
};
52
53
#endif
// KOSHAPECLIPCOMMAND_H
KUndo2Command
Definition
kundo2stack.h:87
KUndo2Command::undo
virtual void undo()
Definition
kundo2stack.cpp:240
KUndo2Command::redo
virtual void redo()
Definition
kundo2stack.cpp:222
KoPathShape
The position of a path point within a path shape.
Definition
KoPathShape.h:63
KoShapeClipCommand
The undo / redo command for setting the shape clip path.
Definition
KoShapeClipCommand.cpp:19
KoShapeClipCommand::d
Private *const d
Definition
KoShapeClipCommand.h:50
KoShapeControllerBase
Definition
KoShapeControllerBase.h:31
KoShape
Definition
KoShape.h:92
QList
Definition
KisQStringListFwd.h:16
kundo2command.h
Private
Definition
SvgTransformParser.cpp:20
libs
flake
commands
KoShapeClipCommand.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52