Logo Search packages:      
Sourcecode: pango-graphite version File versions  Download package

float gr::FreetypeFont::descent (  )  [virtual, inherited]

Returns the font descent in pixels with a positive sign. Value is the same as that returned by getFontMetrics()

Returns:
the font descent in pixels.

Definition at line 200 of file FreetypeFont.cpp.

References gr::FreetypeFont::getFontMetrics().

{
  float pixDescent;
  getFontMetrics(NULL, &pixDescent);
  return pixDescent;
}


Generated by  Doxygen 1.6.0   Back to index