Context.fontExtents

Gets the font extents for the currently selected font.

class Context
void
fontExtents

Parameters

extents cairo.types.FontExtents

a #cairo_font_extents_t object into which the results will be stored.