PgLayoutIter.getLayoutExtents

Obtains the extents of the PangoLayout 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. out[allow-none]

logicalRect PangoRectangle*

rectangle to fill with logical extents, or NULL. out[allow-none]

Meta