karbon

VWhirlPinchCmd Class Reference

Inheritance diagram for VWhirlPinchCmd:

VCommand VVisitor List of all members.

Detailed Description

Definition at line 70 of file whirlpinchplugin.h.


Public Member Functions

 VWhirlPinchCmd (VDocument *doc, double angle, double pinch, double radius)
virtual ~VWhirlPinchCmd ()
virtual void execute ()
virtual void unexecute ()
virtual void visitVPath (VPath &composite)
virtual void visitVSubpath (VSubpath &path)

Protected Attributes

VSelectionm_selection
KoPoint m_center
double m_angle
double m_pinch
double m_radius

Member Function Documentation

void VWhirlPinchCmd::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 137 of file whirlpinchplugin.cc.

void VWhirlPinchCmd::unexecute  )  [virtual]
 

Unexecutes the command.

All changes to the document have to be undone here.

Reimplemented from VCommand.

Definition at line 145 of file whirlpinchplugin.cc.

void VWhirlPinchCmd::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 150 of file whirlpinchplugin.cc.

void VWhirlPinchCmd::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 160 of file whirlpinchplugin.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys