karbon
VTranslatePointCmd Class Reference
Inheritance diagram for VTranslatePointCmd:

Detailed Description
Definition at line 116 of file vtransformcmd.h.
Public Member Functions | |
VTranslatePointCmd (VDocument *doc, double d1, double d2) | |
virtual | ~VTranslatePointCmd () |
virtual void | execute () |
virtual void | unexecute () |
virtual void | visitVSubpath (VSubpath &path) |
Protected Member Functions | |
void | translatePoints () |
Protected Attributes | |
QWMatrix | m_mat |
QMap< VSegment *, QValueVector< int > > | m_segPnts |
VObjectList | m_subpaths |
Member Function Documentation
void VTranslatePointCmd::execute | ( | ) | [virtual] |
Executes the command.
All the changes to the document are done here. All commands have to implement this function.
Implements VCommand.
Definition at line 423 of file vtransformcmd.cc.
void VTranslatePointCmd::unexecute | ( | ) | [virtual] |
Unexecutes the command.
All changes to the document have to be undone here.
Reimplemented from VCommand.
Definition at line 430 of file vtransformcmd.cc.
void VTranslatePointCmd::visitVSubpath | ( | VSubpath & | path | ) | [virtual] |
Visit method for a VSubpath.
Pass a path to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.
Reimplemented from VVisitor.
Definition at line 439 of file vtransformcmd.cc.
The documentation for this class was generated from the following files: