Name
playoutiter:GetLineExtents -- get line extents
Synopsis
ink_rect, logical_rect = playoutiter:GetLineExtents()
Function
Obtains the extents of the current line. This will return two tables that have the fields x, y, width, and height initialized.

Extents are in layout coordinates (origin is the top-left corner of the entire Pango layout). 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 playoutline:GetExtents().

Inputs
none

Results
ink_rect
rectangle filled with ink extents
logical_rect
rectangle filled with logical extents

Show TOC