#include <KoPathCommand.h>
Graphe de collaboration de KoControlPointMoveCommand:
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 | |
KoPathPoint * | m_point |
QPointF | m_offset |
KoPathPoint::KoPointType | m_pointType |
Définition à la ligne 69 du fichier KoPathCommand.h.
KoControlPointMoveCommand::KoControlPointMoveCommand | ( | KoPathPoint * | point, | |
const QPointF & | offset, | |||
KoPathPoint::KoPointType | pointType | |||
) |
Command to move one control path point.
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.
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 |
KoPathPoint* KoControlPointMoveCommand::m_point [private] |
QPointF KoControlPointMoveCommand::m_offset [private] |