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_font
[Gdk]

Classe police de caractere. Plus de détails...

#include <gdkfonts.hpp>

Liste de tous les membres

Membres publics

 gdk_font ()
 Constructeur standard.

 gdk_font (gdkself *f)
 constructeur de conversion gdk/gtk++

 gdk_font (self const &f)
 constructeur de copie. L'objet Gdk est partagé entre les deux instances.

 gdk_font (std::string const &aFontName)
 crée une fonte identifiée par son nom

virtual ~gdk_font ()
self & operator= (self const &f)
 Operateur d'affectation depuis un gdk_font.

self & operator= (gdkself *f)
 Operateur d'affectation depuis un GdkFont*.

self & operator= (std::string const &aFontName)
 Operateur d'affectation depuis une chaine.

 operator GdkFont * () const
 operator GdkFont * ()
 operator bool () const
 Verifie la validité d'un gdk_drawable.

bool operator! () const
 Vérifie la non validité d'un gdk_drawable.

bool operator== (self const &f) const
 Verifie l'egalité avec un autre gdk_drawable.

bool operator== (GdkFont const *f) const
 Verifie l'egalisté avec un objet Gdk.

bool operator== (std::string const &s) const
 Verifie l'egalité avec une police identifiée par son nom.

bool operator!= (self const &f) const
 Verifie l'inegalité avec un autre gdk_font.

bool operator!= (GdkFont const *c) const
 Verifie l'inegalisté avec un objet Gdk.

bool operator!= (std::string const &s) const
 Verifie l'inegalité avec une couleur identifiée par son nom.

gdkself const * operator-> () const
 Revoie un pointeur sur l'objet GdkDrawable.

gdkself const & operator * () const
 Renvoie une reference sur l'objet GdkColor.

self & FontLoad (std::string const &)
 Charge une police de caractere.

pixel_size StringWidth (std::string const &)
 Donne la longueur d'une chaine en pixel.

pixel_size TextWidth (std::string const &, size_t)
 Donne la longueur d'un texte en pixel.

pixel_size CharWidth (char c)
 Donne la longueur d'un caractere en pixel.

pixel_size StringHeight (std::string const &)
 Donne la hauteur d'une chaine en pixel.

pixel_size TextHeight (std::string const &, size_t)
 Donne la hauteur d'un texte en pixel.

pixel_size CharHeight (char c)
 Donne la hauteur d'un caractere en pixel.

self & StringExtents (std::string const &Chaine, pixel_size &, pixel_size &, pixel_size &, pixel_size &, pixel_size &)
 Dimensions d'une chaine de caractere.

self & TextExtents (std::string const &Chaine, size_t, pixel_size &, pixel_size &, pixel_size &, pixel_size &, pixel_size &)
 Dimensions d'un texte.

font_extents StringExtents (std::string const &Chaine)
 Dimensions d'une chaine de caractere.

font_extents TextExtents (std::string const &Chaine, size_t)
 Dimensions d'un texte.


Description détaillée

Classe police de caractere.

---------------------------------------------------------------------------


Documentation des contructeurs et destructeurs

lgtkpp::gdk_font::gdk_font (    )  [inline]
 

Constructeur standard.

lgtkpp::gdk_font::gdk_font (  gdkself *    f )  [inline]
 

constructeur de conversion gdk/gtk++

lgtkpp::gdk_font::gdk_font (  self const &    f )  [inline]
 

constructeur de copie. L'objet Gdk est partagé entre les deux instances.

lgtkpp::gdk_font::gdk_font (  std::string const &    aFontName )  [inline]
 

crée une fonte identifiée par son nom

virtual lgtkpp::gdk_font::~gdk_font (    )  [inline, virtual]
 


Documentation des méthodes

pixel_size lgtkpp::gdk_font::CharHeight (  char    c )  [inline]
 

Donne la hauteur d'un caractere en pixel.

pixel_size lgtkpp::gdk_font::CharWidth (  char    c )  [inline]
 

Donne la longueur d'un caractere en pixel.

gdk_font::self & lgtkpp::gdk_font::FontLoad (  std::string const &    )  [inline]
 

Charge une police de caractere.

gdkself const& lgtkpp::gdk_font::operator * (    )  const [inline]
 

Renvoie une reference sur l'objet GdkColor.

lgtkpp::gdk_font::operator bool (    )  const [inline]
 

Verifie la validité d'un gdk_drawable.

lgtkpp::gdk_font::operator GdkFont * (    )  [inline]
 

lgtkpp::gdk_font::operator GdkFont * (    )  const [inline]
 

bool lgtkpp::gdk_font::operator! (    )  const [inline]
 

Vérifie la non validité d'un gdk_drawable.

bool lgtkpp::gdk_font::operator!= (  std::string const &    s )  const [inline]
 

Verifie l'inegalité avec une couleur identifiée par son nom.

bool lgtkpp::gdk_font::operator!= (  GdkFont const *    c )  const [inline]
 

Verifie l'inegalisté avec un objet Gdk.

bool lgtkpp::gdk_font::operator!= (  self const &    f )  const [inline]
 

Verifie l'inegalité avec un autre gdk_font.

gdkself const* lgtkpp::gdk_font::operator-> (    )  const [inline]
 

Revoie un pointeur sur l'objet GdkDrawable.

self& lgtkpp::gdk_font::operator= (  std::string const &    aFontName )  [inline]
 

Operateur d'affectation depuis une chaine.

self& lgtkpp::gdk_font::operator= (  gdkself *    f )  [inline]
 

Operateur d'affectation depuis un GdkFont*.

self& lgtkpp::gdk_font::operator= (  self const &    f )  [inline]
 

Operateur d'affectation depuis un gdk_font.

bool lgtkpp::gdk_font::operator== (  std::string const &    s )  const [inline]
 

Verifie l'egalité avec une police identifiée par son nom.

bool lgtkpp::gdk_font::operator== (  GdkFont const *    f )  const [inline]
 

Verifie l'egalisté avec un objet Gdk.

bool lgtkpp::gdk_font::operator== (  self const &    f )  const [inline]
 

Verifie l'egalité avec un autre gdk_drawable.

font_extents lgtkpp::gdk_font::StringExtents (  std::string const &    Chaine )  [inline]
 

Dimensions d'une chaine de caractere.

gdk_font::self & lgtkpp::gdk_font::StringExtents (  std::string const &    Chaine,
pixel_size &   ,
pixel_size &   ,
pixel_size &   ,
pixel_size &   ,
pixel_size &   
)  [inline]
 

Dimensions d'une chaine de caractere.

pixel_size lgtkpp::gdk_font::StringHeight (  std::string const &    )  [inline]
 

Donne la hauteur d'une chaine en pixel.

pixel_size lgtkpp::gdk_font::StringWidth (  std::string const &    )  [inline]
 

Donne la longueur d'une chaine en pixel.

font_extents lgtkpp::gdk_font::TextExtents (  std::string const &    Chaine,
size_t   
)  [inline]
 

Dimensions d'un texte.

gdk_font::self & lgtkpp::gdk_font::TextExtents (  std::string const &    Chaine,
size_t   ,
pixel_size &   ,
pixel_size &   ,
pixel_size &   ,
pixel_size &   ,
pixel_size &   
)  [inline]
 

Dimensions d'un texte.

pixel_size lgtkpp::gdk_font::TextHeight (  std::string const &   ,
size_t   
)  [inline]
 

Donne la hauteur d'un texte en pixel.

pixel_size lgtkpp::gdk_font::TextWidth (  std::string const &   ,
size_t   
)  [inline]
 

Donne la longueur d'un texte en pixel.


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