#include <zoomcanvascommand.h>
dnai::commands::ZoomCanvasCommand::ZoomCanvasCommand |
( |
views::CanvasNode * |
c, |
|
|
const double & |
scale, |
|
|
const QPointF & |
offset |
|
) |
| |
void dnai::commands::ZoomCanvasCommand::execute |
( |
| ) |
const |
|
overridevirtual |
Execute the command.
Reimplemented from dnai::commands::Command.
void dnai::commands::ZoomCanvasCommand::executeSave |
( |
| ) |
|
|
overridevirtual |
Save current state of the command for the reverse unExcute()
Reimplemented from dnai::commands::Command.
QString dnai::commands::ZoomCanvasCommand::infos |
( |
| ) |
const |
|
overridevirtual |
Get display info for this command.
- Returns
- QString
Reimplemented from dnai::commands::Command.
void dnai::commands::ZoomCanvasCommand::unExcute |
( |
| ) |
const |
|
overridevirtual |
Reverse the command.
Reimplemented from dnai::commands::Command.
QPointF dnai::commands::ZoomCanvasCommand::m_offset |
|
private |
double dnai::commands::ZoomCanvasCommand::m_scale |
|
private |
The documentation for this class was generated from the following files: