getPixelExtents

open fun getPixelExtents(inkRect: Rectangle?, logicalRect: Rectangle?)

Computes the logical and ink extents of @layout in device units.

This function just calls method@Pango.Layout.get_extents followed by two func@extents_to_pixels calls, rounding @ink_rect and @logical_rect such that the rounded rectangles fully contain the unrounded one (that is, passes them as first argument to func@Pango.extents_to_pixels).

Parameters

inkRect

rectangle used to store the extents of the layout as drawn

logicalRect

rectangle used to store the logical extents of the layout