Method

Pango.LayoutIter.get_run_extents

Declaration [src]

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

Description [src]

Gets the extents of the current run in layout coordinates.

Layout coordinates have the origin at the top left of the entire layout.

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