|
Krita Source Code Documentation
|
#include <KoMultiPathPointMergeCommand.h>
Inheritance diagram for KoMultiPathPointMergeCommand:Public Attributes | |
| QScopedPointer< KoPathCombineCommand > | combineCommand |
| KoShapeControllerBase * | controller |
| QScopedPointer< KUndo2Command > | mergeCommand |
| KoPathPointData | pointData1 |
| KoPathPointData | pointData2 |
| KoSelection * | selection |
Public Attributes inherited from Private | |
| KisCanvas2 * | canvas |
| int | displayedFrame |
| int | intendedFrame |
Protected Member Functions | |
| virtual KUndo2Command * | createMergeCommand (const KoPathPointData &pointData1, const KoPathPointData &pointData2) |
Private Attributes | |
| const QScopedPointer< Private > | m_d |
Definition at line 17 of file KoMultiPathPointMergeCommand.cpp.
| KoMultiPathPointMergeCommand::KoMultiPathPointMergeCommand | ( | const KoPathPointData & | pointData1, |
| const KoPathPointData & | pointData2, | ||
| KoShapeControllerBase * | controller, | ||
| KoSelection * | selection, | ||
| KUndo2Command * | parent = 0 ) |
Definition at line 37 of file KoMultiPathPointMergeCommand.cpp.
|
override |
Definition at line 43 of file KoMultiPathPointMergeCommand.cpp.
|
protectedvirtual |
Reimplemented in KoMultiPathPointJoinCommand.
Definition at line 47 of file KoMultiPathPointMergeCommand.cpp.
References pointData1, and pointData2.
|
inline |
Definition at line 19 of file KoMultiPathPointMergeCommand.cpp.
|
overridevirtual |
Applies a change to the document. This function must be implemented in the derived class. Calling KUndo2QStack::push(), KUndo2QStack::undo() or KUndo2QStack::redo() from this function leads to undefined behavior.
The default implementation calls redo() on all child commands.
Reimplemented from KUndo2Command.
Definition at line 52 of file KoMultiPathPointMergeCommand.cpp.
References createMergeCommand(), KIS_SAFE_ASSERT_RECOVER_RETURN, m_d, and KUndo2Command::redo().
| KoPathShape * KoMultiPathPointMergeCommand::testingCombinedPath | ( | ) | const |
Definition at line 85 of file KoMultiPathPointMergeCommand.cpp.
References m_d.
|
overridevirtual |
Reverts a change to the document. After undo() is called, the state of the document should be the same as before redo() was called. This function must be implemented in the derived class. Calling KUndo2QStack::push(), KUndo2QStack::undo() or KUndo2QStack::redo() from this function leads to undefined behavior.
The default implementation calls undo() on all child commands in reverse order.
Reimplemented from KUndo2Command.
Definition at line 90 of file KoMultiPathPointMergeCommand.cpp.
References m_d, and KUndo2Command::undo().
| QScopedPointer<KoPathCombineCommand> KoMultiPathPointMergeCommand::combineCommand |
Definition at line 33 of file KoMultiPathPointMergeCommand.cpp.
| KoShapeControllerBase* KoMultiPathPointMergeCommand::controller |
Definition at line 29 of file KoMultiPathPointMergeCommand.cpp.
|
private |
Definition at line 41 of file KoMultiPathPointMergeCommand.h.
| QScopedPointer<KUndo2Command> KoMultiPathPointMergeCommand::mergeCommand |
Definition at line 34 of file KoMultiPathPointMergeCommand.cpp.
| KoPathPointData KoMultiPathPointMergeCommand::pointData1 |
Definition at line 27 of file KoMultiPathPointMergeCommand.cpp.
| KoPathPointData KoMultiPathPointMergeCommand::pointData2 |
Definition at line 28 of file KoMultiPathPointMergeCommand.cpp.
| KoSelection* KoMultiPathPointMergeCommand::selection |
Definition at line 30 of file KoMultiPathPointMergeCommand.cpp.