Method

Pango.Layout.get_size

Declaration [src]

void
pango_layout_get_size (
  PangoLayout* layout,
  int* width,
  int* height
)

Description [src]

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

This is simply a convenience function around pango_layout_get_extents().

Parameters

width int*
 

location to store the logical width

 Direction: out
 The called function takes ownership of the data, and is responsible for freeing it
height int*
 

location to store the logical height

 Direction: out
 The called function takes ownership of the data, and is responsible for freeing it