mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 01:44:25 +00:00
TextRun::least_width measures Wrap::ElidePath on the range layout_cut paints at that width (the last name cut, or the name whole after the ellipsis), through one path_name helper both share. cut_pieces trims white space before the ellipsis, in the paint and the least alike. The row shrink step records each unit's width and whether it dropped as a Shrink record in layout memory (layout::ShrinkCap), and a leaf reads the drop from it.