#include <KoPathCommand.h>
Graphe d'héritage de KoPointJoinCommand:
Fonctions membres publiques | |
| KoPointJoinCommand (KoPathShape *shape, KoPathPoint *point1, KoPathPoint *point2) | |
| 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_point1 |
| KoPathPoint * | m_point2 |
| bool | m_joined |
Définition à la ligne 190 du fichier KoPathCommand.h.
| KoPointJoinCommand::KoPointJoinCommand | ( | KoPathShape * | shape, | |
| KoPathPoint * | point1, | |||
| KoPathPoint * | point2 | |||
| ) |
Command to join two start/end path points.
| shape | the path shape whose points to join | |
| point1 | the first point of the subpath to join | |
| point2 | the second point of the subpath to join |
Définition à la ligne 404 du fichier KoPathCommand.cpp.
| void KoPointJoinCommand::execute | ( | ) |
execute the command
Définition à la ligne 412 du fichier KoPathCommand.cpp.
Références KoPathShape::joinBetween(), m_joined, m_point1, m_point2, KoPathBaseCommand::m_shape, et KoShape::repaint().
Voici le graphe d'appel pour cette fonction :
| void KoPointJoinCommand::unexecute | ( | ) |
revert the actions done in execute
Définition à la ligne 418 du fichier KoPathCommand.cpp.
Références KoPathShape::breakAt(), m_joined, m_point1, m_point2, KoPathBaseCommand::m_shape, et KoShape::repaint().
Voici le graphe d'appel pour cette fonction :
| QString KoPointJoinCommand::name | ( | ) | const |
KoPathPoint* KoPointJoinCommand::m_point1 [private] |
KoPathPoint* KoPointJoinCommand::m_point2 [private] |
bool KoPointJoinCommand::m_joined [private] |
1.5.1-p1