karbon
VTransformCmd Class Reference
Inheritance diagram for VTransformCmd:

Detailed Description
Definition at line 38 of file vtransformcmd.h.
Public Member Functions | |
VTransformCmd (VDocument *doc, const QWMatrix &mat, bool duplicate=false) | |
virtual | ~VTransformCmd () |
virtual void | execute () |
virtual void | unexecute () |
virtual void | visitVPath (VPath &composite) |
virtual void | visitVSubpath (VSubpath &path) |
virtual void | visitVText (VText &text) |
virtual void | visitVImage (VImage &img) |
virtual void | visitVObject (VObject &object) |
void | setMatrix (const QWMatrix &m) |
Protected Member Functions | |
VTransformCmd (VDocument *doc, const QString &name, const QString &icon, bool duplicate=false) | |
Protected Attributes | |
VSelection * | m_selection |
VObjectList | m_duplicates |
QWMatrix | m_mat |
bool | m_duplicate |
Member Function Documentation
void VTransformCmd::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 77 of file vtransformcmd.cc.
void VTransformCmd::unexecute | ( | ) | [virtual] |
Unexecutes the command.
All changes to the document have to be undone here.
Reimplemented from VCommand.
Definition at line 112 of file vtransformcmd.cc.
void VTransformCmd::visitVPath | ( | VPath & | composite | ) | [virtual] |
Visit method for a VPath.
Pass a composite 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 164 of file vtransformcmd.cc.
void VTransformCmd::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 179 of file vtransformcmd.cc.
void VTransformCmd::visitVText | ( | VText & | text | ) | [virtual] |
Visit method for a VText.
Pass some text 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 202 of file vtransformcmd.cc.
void VTransformCmd::visitVImage | ( | VImage & | img | ) | [virtual] |
Visit method for a VImage.
Pass an image 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 224 of file vtransformcmd.cc.
void VTransformCmd::visitVObject | ( | VObject & | object | ) | [virtual] |
Visit method for a VObject.
Pass an object 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 147 of file vtransformcmd.cc.
The documentation for this class was generated from the following files: