karbon

VTranslateBezierCmd Class Reference

Inheritance diagram for VTranslateBezierCmd:

VCommand VVisitor List of all members.

Detailed Description

Definition at line 97 of file vtransformcmd.h.


Public Member Functions

 VTranslateBezierCmd (VDocument *doc, VSegment *segment, double d1, double d2, bool firstControl)
virtual ~VTranslateBezierCmd ()
virtual void execute ()
virtual void unexecute ()
virtual void visitVSubpath (VSubpath &path)

Protected Attributes

QWMatrix m_mat
VSegmentm_segment
VSegmentm_segmenttwo
bool m_firstControl
VSubpathm_subpath

Member Function Documentation

void VTranslateBezierCmd::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 300 of file vtransformcmd.cc.

void VTranslateBezierCmd::unexecute (  )  [virtual]

Unexecutes the command.

All changes to the document have to be undone here.

Reimplemented from VCommand.

Definition at line 352 of file vtransformcmd.cc.

void VTranslateBezierCmd::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 381 of file vtransformcmd.cc.


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