Package: pango

Function pango:ascent

Lambda List

pango:ascent (rect)

Arguments

rect -- a pango:rectangle instance

Return Value

The integer with the ascent.

Details

Extracts the ascent from a pango:rectangle instance representing glyph extents. The ascent is the distance from the baseline to the highest point of the character. This is positive if the glyph ascends above the baseline.
 

See also

2025-4-14