Build a caret-positions table from glyph boxes (anything with x and width, e.g. PixiDom's virtual bitmap-text glyphs). positions[0] is 0; interior entries are each glyph's left edge; the final entry is the right edge of the last glyph.
x
width
positions[0]
Build a caret-positions table from glyph boxes (anything with
xandwidth, e.g. PixiDom's virtual bitmap-text glyphs).positions[0]is 0; interior entries are each glyph's left edge; the final entry is the right edge of the last glyph.