logo top
Main Page   Widgets   Namespaces   Book  

Pango::FontMetrics Class Reference

A Pango::FontMetrics holds the overall metric information for a font (possibly restricted to a script). More...

List of all members.

Public Member Functions

 FontMetrics ()
 FontMetrics (PangoFontMetrics* gobject, bool make_a_copy=true)
 FontMetrics (const FontMetrics& other)
FontMetricsoperator= (const FontMetrics& other)
 ~FontMetrics ()
void swap (FontMetrics& other)
PangoFontMetrics* gobj ()
 Provides access to the underlying C instance.

const PangoFontMetrics* gobj () const
 Provides access to the underlying C instance.

PangoFontMetrics* gobj_copy () const
int get_ascent () const
int get_descent () const
int get_approximate_char_width () const
int get_approximate_digit_width () const

Protected Attributes

PangoFontMetrics* gobject_

Related Functions

(Note that these are not member functions.)

void swap (FontMetrics& lhs, FontMetrics& rhs)
Pango::FontMetrics wrap (PangoFontMetrics* object, bool take_copy=false)


Detailed Description

A Pango::FontMetrics holds the overall metric information for a font (possibly restricted to a script).


Constructor & Destructor Documentation

Pango::FontMetrics::FontMetrics (  ) 
 

Pango::FontMetrics::FontMetrics ( PangoFontMetrics*  gobject,
bool  make_a_copy = true
[explicit]
 

Pango::FontMetrics::FontMetrics ( const FontMetrics other  ) 
 

Pango::FontMetrics::~FontMetrics (  ) 
 


Member Function Documentation

int Pango::FontMetrics::get_approximate_char_width (  )  const
 

int Pango::FontMetrics::get_approximate_digit_width (  )  const
 

int Pango::FontMetrics::get_ascent (  )  const
 

int Pango::FontMetrics::get_descent (  )  const
 

const PangoFontMetrics* Pango::FontMetrics::gobj (  )  const [inline]
 

Provides access to the underlying C instance.

PangoFontMetrics* Pango::FontMetrics::gobj (  )  [inline]
 

Provides access to the underlying C instance.

PangoFontMetrics* Pango::FontMetrics::gobj_copy (  )  const
 

FontMetrics& Pango::FontMetrics::operator= ( const FontMetrics other  ) 
 

void Pango::FontMetrics::swap ( FontMetrics other  ) 
 


Friends And Related Function Documentation

void swap ( FontMetrics lhs,
FontMetrics rhs
[related]
 

Pango::FontMetrics wrap ( PangoFontMetrics*  object,
bool  take_copy = false
[related]
 


Member Data Documentation

PangoFontMetrics* Pango::FontMetrics::gobject_ [protected]
 


The documentation for this class was generated from the following file:
Generated for gtkmm2.2 by Doxygen 1.3.3 © 1997-2001