Référence de la classe KoControlPointMoveCommand

The undo / redo command for path point moving. Plus de détails...

#include <KoPathCommand.h>

Graphe de collaboration de KoControlPointMoveCommand:

[légende]
Liste de tous les membres

Fonctions membres publiques

 KoControlPointMoveCommand (KoPathPoint *point, const QPointF &offset, KoPathPoint::KoPointType pointType)
void execute ()
 execute the command
void unexecute ()
 revert the actions done in execute
QString name () const
 return the name of this command

Attributs privés

KoPathPointm_point
QPointF m_offset
KoPathPoint::KoPointType m_pointType

Description détaillée

The undo / redo command for path point moving.

Définition à la ligne 69 du fichier KoPathCommand.h.


Documentation des contructeurs et destructeur

KoControlPointMoveCommand::KoControlPointMoveCommand ( KoPathPoint point,
const QPointF &  offset,
KoPathPoint::KoPointType  pointType 
)

Command to move one control path point.

Paramètres:
point the path point to control point belongs to
offset the offset by which the point is moved in document coordinates
pointType the type of the point to move

Définition à la ligne 89 du fichier KoPathCommand.cpp.


Documentation des fonctions membres

void KoControlPointMoveCommand::execute (  ) 

execute the command

Définition à la ligne 96 du fichier KoPathCommand.cpp.

Références KoPathPoint::controlPoint1(), KoPathPoint::ControlPoint1, KoPathPoint::ControlPoint2, KoPathPoint::controlPoint2(), KoPathPoint::IsSmooth, KoPathPoint::IsSymmetric, m_offset, m_point, m_pointType, KoPathShape::normalize(), KoPathPoint::parent(), KoPathPoint::point(), KoPathPoint::properties(), KoShape::repaint(), KoPathPoint::setControlPoint1(), et KoPathPoint::setControlPoint2().

Référencé par KoPathControlPointMoveStrategy::handleMouseMove(), et unexecute().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoControlPointMoveCommand::unexecute (  ) 

revert the actions done in execute

Définition à la ligne 146 du fichier KoPathCommand.cpp.

Références execute(), et m_offset.

Voici le graphe d'appel pour cette fonction :

QString KoControlPointMoveCommand::name (  )  const

return the name of this command

Définition à la ligne 153 du fichier KoPathCommand.cpp.


Documentation des données membres

KoPathPoint* KoControlPointMoveCommand::m_point [private]

Définition à la ligne 86 du fichier KoPathCommand.h.

Référencé par execute().

QPointF KoControlPointMoveCommand::m_offset [private]

Définition à la ligne 88 du fichier KoPathCommand.h.

Référencé par execute(), et unexecute().

KoPathPoint::KoPointType KoControlPointMoveCommand::m_pointType [private]

Définition à la ligne 89 du fichier KoPathCommand.h.

Référencé par execute().


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:44:34 2006 pour KPlato par  doxygen 1.5.1-p1