PgLayout.getPixelSize

Determines the logical width and height of a PangoLayout in device units.

[method@Pango.Layout.get_size] returns the width and height scaled by %PANGO_SCALE. This is simply a convenience function around [method@Pango.Layout.get_pixel_extents].

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

Parameters

width int

location to store the logical width, or %NULL

height int

location to store the logical height, or %NULL

Meta