PgLayout.getSize

Determines the logical width and height of a PangoLayout in Pango units (device units scaled by PANGO_SCALE). This is simply a convenience function around pango_layout_get_extents().

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

Parameters

width int

location to store the logical width, or NULL. [out caller-allocates][allow-none]

height int

location to store the logical height, or NULL. [out caller-allocates][allow-none]

Meta