Method

Pango.LayoutIter.get_layout_extents

Declaration [src]

void
pango_layout_iter_get_layout_extents (
  PangoLayoutIter* iter,
  PangoRectangle* ink_rect,
  PangoRectangle* logical_rect
)

Description [src]

Obtains the extents of the PangoLayout being iterated over.

Parameters

ink_rect PangoRectangle
 

rectangle to fill with ink extents

 Direction: out
 The data is owned by the caller of the function
logical_rect PangoRectangle
 

rectangle to fill with logical extents

 Direction: out
 The data is owned by the caller of the function