def text.length.finish

gralha-svg-render@0.1.0.1 · svg.bend:3481

import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base

3481def text.length.finish(fit: TextFit, cursor: TextCursor, delta: F32) -> TextLayout:
3482  TextFit{nodes, count, fixed} = fit
3483  TextCursor{x, y, index, chunk, start, anchor, prev, pc, pf, ps, seen, blankState, trailing, spacing, chunks} = cursor
3484  TextLayout{nodes, TextCursor{(x + delta : F32), y, index, chunk, start, anchor, prev, pc, pf, ps, seen, blankState, trailing, spacing, chunks}}

Uses (5)

Used by (1)