Computes the logical and ink extents of layout in device units.
This function just calls pango.layout.Layout.getExtents followed by
two funcextents_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 funcPango.extents_to_pixels).
Computes the logical and ink extents of layout in device units.
This function just calls pango.layout.Layout.getExtents followed by two funcextents_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 funcPango.extents_to_pixels).