Référence de la classe KoPointGroup

A KoPointGroup represents points in a path that should be treated as one. Plus de détails...

#include <KoPathShape.h>

Liste de tous les membres

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


Description détaillée

A KoPointGroup represents points in a path that should be treated as one.

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.


Documentation des contructeurs et destructeur

KoPointGroup::KoPointGroup (  )  [inline]

Définition à la ligne 267 du fichier KoPathShape.h.

KoPointGroup::~KoPointGroup (  )  [inline]

Définition à la ligne 268 du fichier KoPathShape.h.


Documentation des fonctions membres

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

Renvoie:
all points of the group

Définition à la ligne 290 du fichier KoPathShape.h.

Références m_points.


Documentation des données membres

QSet<KoPathPoint *> KoPointGroup::m_points [private]

Définition à la ligne 293 du fichier KoPathShape.h.

Référencé par add(), map(), points(), et remove().


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