#include <KoPathCommand.h>
Fonctions membres publiques | |
KoPointMoveCommand (const KoPathShapePointMap &pointMap, const QPointF &offset) | |
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 | |
KoPathShapePointMap | m_pointMap |
QPointF | m_offset |
Définition à la ligne 47 du fichier KoPathCommand.h.
KoPointMoveCommand::KoPointMoveCommand | ( | const KoPathShapePointMap & | pointMap, | |
const QPointF & | offset | |||
) |
Command to move path point.
pointMap | map of the path point to move | |
offset | the offset by which the point is moved in document coordinates |
Définition à la ligne 49 du fichier KoPathCommand.cpp.
void KoPointMoveCommand::execute | ( | ) |
execute the command
Définition à la ligne 55 du fichier KoPathCommand.cpp.
Références m_offset, m_pointMap, et KoPathPoint::map().
Référencé par unexecute().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
void KoPointMoveCommand::unexecute | ( | ) |
revert the actions done in execute
Définition à la ligne 77 du fichier KoPathCommand.cpp.
Références execute(), et m_offset.
Voici le graphe d'appel pour cette fonction :
QString KoPointMoveCommand::name | ( | ) | const |
QPointF KoPointMoveCommand::m_offset [private] |