libs/flake
KoShapeShearCommand Class Reference
The undo / redo command for shape shearing. More...
#include <KoShapeShearCommand.h>
Inheritance diagram for KoShapeShearCommand:

Public Member Functions | |
| KoShapeShearCommand (const QList< KoShape * > &shapes, QList< qreal > &previousShearXs, QList< qreal > &previousShearYs, QList< qreal > &newShearXs, QList< qreal > &newShearYs, QUndoCommand *parent=0) | |
| void | redo () |
| void | undo () |
Detailed Description
The undo / redo command for shape shearing.
Definition at line 32 of file KoShapeShearCommand.h.
Constructor & Destructor Documentation
| KoShapeShearCommand::KoShapeShearCommand | ( | const QList< KoShape * > & | shapes, | |
| QList< qreal > & | previousShearXs, | |||
| QList< qreal > & | previousShearYs, | |||
| QList< qreal > & | newShearXs, | |||
| QList< qreal > & | newShearYs, | |||
| QUndoCommand * | parent = 0 | |||
| ) |
Comand to rotate a selection of shapes.
Note that it just alters the rotated property of those shapes, and nothing more.
- Parameters:
-
shapes all the shapes that should be rotated previousShearXs a list with the same amount of items as shapes with the old shearX values previousShearYs a list with the same amount of items as shapes with the old shearY values newShearXs a list with the same amount of items as shapes with the new values. newShearYs a list with the same amount of items as shapes with the new values. parent the parent command used for macro commands
Definition at line 26 of file KoShapeShearCommand.cpp.
Member Function Documentation
| void KoShapeShearCommand::redo | ( | ) |
redo the command
Reimplemented from QUndoCommand.
Definition at line 42 of file KoShapeShearCommand.cpp.
| void KoShapeShearCommand::undo | ( | ) |
revert the actions done in redo
Reimplemented from QUndoCommand.
Definition at line 52 of file KoShapeShearCommand.cpp.
The documentation for this class was generated from the following files:
