PgLayoutIter.getLayoutExtents

Obtains the extents of the gtk.Layout being iterated over. ink_rect or logical_rect can be NULL if you aren't interested in them.

class PgLayoutIter
void
getLayoutExtents

Parameters

inkRect PangoRectangle

rectangle to fill with ink extents, or NULL

logicalRect PangoRectangle

rectangle to fill with logical extents, or NULL