#include <KoPathShape.h>
Fonctions membres publiques | |
KoPointGroup () | |
~KoPointGroup () | |
void | add (KoPathPoint *point) |
Add a point to the group. | |
void | remove (KoPathPoint *point) |
Remove a point from the group. | |
void | map (const QMatrix &matrix) |
const QSet< KoPathPoint * > & | points () const |
get The point belonging to the group | |
Attributs privés | |
QSet< KoPathPoint * > | m_points |
In svg it is possible when you use a close and the create a new subpath not using a moveTo that the new subpath starts at the same point as the last subpath. As every point can only have 2 control points we have this class to group points together which should be handled as one in e.g. a move.
Définition à la ligne 264 du fichier KoPathShape.h.
KoPointGroup::KoPointGroup | ( | ) | [inline] |
Définition à la ligne 267 du fichier KoPathShape.h.
KoPointGroup::~KoPointGroup | ( | ) | [inline] |
Définition à la ligne 268 du fichier KoPathShape.h.
void KoPointGroup::add | ( | KoPathPoint * | point | ) |
Add a point to the group.
Définition à la ligne 288 du fichier KoPathShape.cpp.
Références KoPathPoint::addToGroup(), et m_points.
Référencé par KoPathShape::updateLast().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
void KoPointGroup::remove | ( | KoPathPoint * | point | ) |
Remove a point from the group.
This also remove the pointer to the group in the point. When the second last point is removed from the group, the group removes also the last point and deletes itself.
Définition à la ligne 294 du fichier KoPathShape.cpp.
Références m_points, et KoPathPoint::removeFromGroup().
Référencé par KoPathPoint::removeFromGroup().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
void KoPointGroup::map | ( | const QMatrix & | matrix | ) |
Définition à la ligne 308 du fichier KoPathShape.cpp.
Références m_points.
Référencé par KoPathPoint::map().
Voici le graphe d'appel pour cette fonction :
const QSet<KoPathPoint *>& KoPointGroup::points | ( | ) | const [inline] |
get The point belonging to the group
Définition à la ligne 290 du fichier KoPathShape.h.
Références m_points.
QSet<KoPathPoint *> KoPointGroup::m_points [private] |