get_line_extents


Description:

public void get_line_extents (out Rectangle ink_rect, out Rectangle logical_rect)

Obtains the extents of the current line.

Extents are in layout coordinates (origin is the top-left corner of the entire `PangoLayout`). Thus the extents returned by this function will be the same width/height but not at the same x/y as the extents returned from [method@Pango.LayoutLine.get_extents].

Parameters:

this

a `PangoLayoutIter`

ink_rect

rectangle to fill with ink extents

logical_rect

rectangle to fill with logical extents