Layout.getSize

Determines the logical width and height of a pango.layout.Layout in Pango units.

This is simply a convenience function around pango.layout.Layout.getExtents.

class Layout
void
getSize
(
out int width
,
out int height
)

Parameters

width int

location to store the logical width

height int

location to store the logical height