Package: cairo
Function cairo:scaled-font-glyph-extents
Lambda Listcairo:scaled-font-glyph-extents (font glyphs) SyntaxArgumentsReturn ValueThe double floats of the cairo:text-extents-t instance with the extents of glyphs. Details Gets the extents for glyphs.
The extents describe a user-space rectangle that encloses the "inked" portion of the glyphs, as they would be drawn by the cairo:show-glyphs function if the Cairo graphics state were set to the same font-face, font-matrix, ctm, and font-options as font. Additionally, the xadvance and yadvance values indicate the amount by which the current point would be advanced by the cairo:show-glyphs
function. Note that whitespace glyphs do not contribute to the size of the rectangle width and height values. | See also |
2025-1-29