Name
playoutline:GetExtents -- get extents of layout line
Synopsis
ink_rect, logical_rect = playoutline:GetExtents()
Function
Computes the logical and ink extents of a layout line. This will return two tables that have the fields x, y, width, and height initialized.

See pfont:GetGlyphExtents() for details about the interpretation of the rectangles.

Inputs
none

Results
ink_rect
extents of the glyph string as drawn
logical_rect
logical extents of the glyph string

Show TOC