Layout.getPixelSize
void getPixelSize(out int width, out int height)Determines the logical width and height of a pango.layout.Layout in device units.
pango.layout.Layout.getSize returns the width and height scaled by pango.types.SCALE. This is simply a convenience function around pango.layout.Layout.getPixelExtents.
Parameters
width | location to store the logical width |
height | location to store the logical height |