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

virtual void gr::XftGrFont::getFontMetrics ( float *  pAscent = NULL,
float *  pDescent = NULL,
float *  pEmSquare = NULL 
) [virtual]

Returns the basic metrics of the font. It corresponds to the current GrGraphics::get_FontAscent, get_FontDescent and GetFontEmSquare methods.

pAscent pointer to hold font ascent
pDescent pointer to hold font descent
pEmSquare pointer to hold font EM square

Referenced by ascent(), descent(), and height().

Generated by  Doxygen 1.6.0   Back to index