Package: cairo

Function cairo-font-extents-ascent

Lambda List

cairo-font-extents-ascent (extents)

Arguments

extents -- a cairo-font-extents-t instance

Details

Accessor of the ascent slot of the cairo-font-extents-t structure.

The distance that the font extends above the baseline. Note that this is not always exactly equal to the maximum of the extents of all the glyphs in the font, but rather is picked to express the font designer's intent as to how the font should align with elements above it.
 

See also

2020-12-29