MirrorCommand

Search for usage in LXR

MirrorCommand Class Reference

#include <mirrorcommand.h>

Inheritance diagram for MirrorCommand:

Public Member Functions

 MirrorCommand (bool horizontal, bool vertical)
 
virtual QImage redo (QImage image) override
 
virtual QImage undo (QImage image) override
 

Detailed Description

MirrorCommand that mirror an image horizontally or vertically.

Definition at line 17 of file mirrorcommand.h.

Member Function Documentation

QImage MirrorCommand::redo ( QImage  image)
overridevirtual

Applies the change to the document.

Implements UndoCommand.

Definition at line 20 of file mirrorcommand.cpp.

QImage MirrorCommand::undo ( QImage  image)
overridevirtual

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-2021 The KDE developers.
Generated on Sat Oct 16 2021 23:07:50 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.