Package: cairo

Function cairo:font-extents

Lambda List

cairo:font-extents (cr)

Syntax

(cairo:font-extents cr) => ascent, descent, height, max-xadvance, max-yadvance

Arguments

cr -- a cairo:context-t instance

Return Value

The double floats of the cairo:font-extents-t instance.

Details

Gets the font extents for the currently selected font.
 

See also

2025-1-29