Method

PangoLayoutIterget_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

Type: PangoRectangle

Rectangle to fill with ink extents.

The argument will be set by the function.
The argument can be NULL.
The returned data is owned by the instance.
logical_rect

Type: PangoRectangle

Rectangle to fill with logical extents.

The argument will be set by the function.
The argument can be NULL.
The returned data is owned by the instance.