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 (origin is the top left of the entire layout).

Parameters

ink_rect PangoRectangle
 

rectangle to fill with ink extents, or NULL

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

rectangle to fill with logical extents, or NULL

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