Package: pango

Function pango:layout-pixel-size

Lambda List

pango:layout-pixel-size (layout)

Syntax

(pango:layout-pixel-size layout) => width, height

Arguments

layout -- a pango:layout object
width -- an integer for the logical width
height -- an integer for the logical height

Details

Determines the logical width and height of a Pango layout in device units. The pango:layout-size function returns the width and height scaled by pango:+scale+. This is simply a convenience function around the pango:layout-pixel-extents function.
 

See also

2025-2-15