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

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

Returns the font ascent in pixels. Using floating point allows us to avoid rounding errors. Value is the same as that returned by getFontMetrics()

the font ascent

Definition at line 192 of file FreetypeFont.cpp.

References gr::FreetypeFont::getFontMetrics().

  float pixAscent;
  return pixAscent;

Generated by  Doxygen 1.6.0   Back to index