Method

PangoLayoutIterget_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

Type: PangoRectangle

Rectangle to fill with ink extents.

The argument will be set by the function.
The argument can be NULL.
The data is owned by the caller of the function.
logical_rect

Type: PangoRectangle

Rectangle to fill with logical extents.

The argument will be set by the function.
The argument can be NULL.
The data is owned by the caller of the function.