Page principale   Modules   Liste des namespaces   Hiérarchie des classes   Liste des composants   Liste des fichiers   Membres des namespaces   Composants   Déclarations   Pages associées   Exemples  

Référence de la classe lgtkpp::gdk_point
[Gdk]

represente un point dans un espace a deux dimension, positionnée par ses deux coordonnées X et Y. Plus de détails...

#include <gdkpoints.hpp>

Liste de tous les membres

Membres publics

 gdk_point ()
 Construit un point vide, dont les coordonnées sont en (0,0).

 gdk_point (int aX, int aY)
 Constructeur de conversion (X,Y) -> gdk_point.

 gdk_point (gdkself const *p)
 Constructeur de conversion Gdk/Gtk++.

 gdk_point (self const &p)
 Constructeur de copie.

 ~gdk_point ()
 Destructeur.

 operator GdkPoint * ()
 Operateur de conversion Gtk++/Gdk.

 operator GdkPoint const * () const
self & operator= (self const &p)
 Operateur! d'affection depuis Gtk++.

self & operator= (gdkself const *p)
 Operateur d'affectation depuis Gdk.

gdkself const * operator-> () const
gdkself const & operator * () const
gdkself * operator-> ()
gdkself & operator * ()
self & operator+= (self const &)
 Operateur addition cumulative.

self operator+ (self const &)
 Operateur addition.

self & operator-= (self const &)
 Operateur soustraction cumulative.

self operator- (self const &)
 Operateur soustraction.

 operator bool () const
 Operateur booleen.

bool operator! () const
bool operator== (self const &) const
bool operator== (gdkself const *p) const
bool operator== (gdkself *p) const
bool operator!= (self const &p) const
bool operator!= (gdkself const *p) const
bool operator!= (gdkself *p) const
virtual std::ostream & Print (std::ostream &o) const
 Envoie l'objet sur un flux ostream.


Amis (friends)

class gdk_points


Description détaillée

represente un point dans un espace a deux dimension, positionnée par ses deux coordonnées X et Y.

Cette classe encapsule le GdkPoint, objet utilisé par le Gdk pour memoriser les coordonnées d'un point (en pixel_t). Cette comporte un certain nombre de fonctionnalité, tels qu'accés aux membres du GdkPoint associé, comparaison de deux point et un operateur de conversion vers GdkPoint pour utiliser la classe à la place d'un GdkPoint.


Documentation des contructeurs et destructeurs

lgtkpp::gdk_point::gdk_point   [inline]
 

Construit un point vide, dont les coordonnées sont en (0,0).

lgtkpp::gdk_point::gdk_point int    aX,
int    aY
 

Constructeur de conversion (X,Y) -> gdk_point.

lgtkpp::gdk_point::gdk_point gdkself const *    p
 

Constructeur de conversion Gdk/Gtk++.

lgtkpp::gdk_point::gdk_point self const &    p [inline]
 

Constructeur de copie.

lgtkpp::gdk_point::~gdk_point   [inline]
 

Destructeur.


Documentation des méthodes

gdkself& lgtkpp::gdk_point::operator *   [inline]
 

gdkself const& lgtkpp::gdk_point::operator *   const [inline]
 

lgtkpp::gdk_point::operator bool   const [inline]
 

Operateur booleen.

lgtkpp::gdk_point::operator GdkPoint *   [inline]
 

Operateur de conversion Gtk++/Gdk.

lgtkpp::gdk_point::operator GdkPoint const *   const [inline]
 

bool lgtkpp::gdk_point::operator!   const [inline]
 

bool lgtkpp::gdk_point::operator!= gdkself *    p const [inline]
 

bool lgtkpp::gdk_point::operator!= gdkself const *    p const [inline]
 

bool lgtkpp::gdk_point::operator!= self const &    p const [inline]
 

gdk_point lgtkpp::gdk_point::operator+ self const &    [inline]
 

Operateur addition.

gdk_point & lgtkpp::gdk_point::operator+= self const &    [inline]
 

Operateur addition cumulative.

gdk_point lgtkpp::gdk_point::operator- self const &    [inline]
 

Operateur soustraction.

gdk_point & lgtkpp::gdk_point::operator-= self const &    [inline]
 

Operateur soustraction cumulative.

gdkself* lgtkpp::gdk_point::operator->   [inline]
 

gdkself const* lgtkpp::gdk_point::operator->   const [inline]
 

gdk_point::self & lgtkpp::gdk_point::operator= gdkself const *    p [inline]
 

Operateur d'affectation depuis Gdk.

Affecte la valeur d'un autre GdkPoint au point courant

Paramètres:
s pointeur constant sur le point affecteur
Renvoie:
une référence sur l'objet courant
Remarques:
le pointeur transmis de l'objet, n'est pas modifié

self& lgtkpp::gdk_point::operator= self const &    p
 

Operateur! d'affection depuis Gtk++.

bool lgtkpp::gdk_point::operator== gdkself *    p const [inline]
 

bool lgtkpp::gdk_point::operator== gdkself const *    p const [inline]
 

bool lgtkpp::gdk_point::operator== self const &    p const [inline]
 

Teste l'egalite de deux gdk_point.

Paramètres:
s reference constante sur le gdk_point a comparer avec le courant
Valeurs retournées:
true les deux points sont identiques
false les deux points sont différents

std::ostream & lgtkpp::gdk_point::Print std::ostream &    o const [inline, virtual]
 

Envoie l'objet sur un flux ostream.


Documentation des fonctions amies et associées

friend class gdk_points [friend]
 


La documentation associée à cette classe a été générée à partir du fichier suivant :
Généré le Sun Oct 5 15:03:44 2003 pour lightgtk++ par doxygen1.3-rc3