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

virtual float gr::XftGrFont::height (  )  [inline, virtual]

Returns the total height of the font. Equivalent to ascent() + descent().

font height

Definition at line 180 of file XftGrFont.h.

References getFontMetrics().

    float pixAscent;
    float pixDescent;
    getFontMetrics(&pixAscent, &pixDescent);
    return (pixAscent + pixDescent);

Generated by  Doxygen 1.6.0   Back to index