MirrorCommand
MirrorCommand Class Reference
#include <mirrorcommand.h>
Inheritance diagram for MirrorCommand:
Public Member Functions | |
MirrorCommand (bool horizontal, bool vertical) | |
QImage | redo (QImage image) override |
QImage | undo (QImage image) override |
Public Member Functions inherited from UndoCommand |
Detailed Description
MirrorCommand that mirror an image horizontally or vertically.
Definition at line 16 of file mirrorcommand.h.
Constructor & Destructor Documentation
◆ MirrorCommand()
MirrorCommand::MirrorCommand | ( | bool | horizontal, |
bool | vertical ) |
Definition at line 9 of file mirrorcommand.cpp.
Member Function Documentation
◆ redo()
Applies the change to the document.
Implements UndoCommand.
Definition at line 20 of file mirrorcommand.cpp.
◆ undo()
Revert a change to the document.
Implements UndoCommand.
Definition at line 15 of file mirrorcommand.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:49:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:49:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.