def text.characters

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

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

3403def text.characters(s: String, +font: TextFont, +frames: List<&2, TextFrame>, cursor: TextCursor) -> TextLayout:
3404  match s:
3405    case SNil{}: TextLayout{Nil{}, cursor}
3406    case SCon{Chr{ch}, rest}: text.layout.then(text.character(cursor, font, frames, ch), next => text.characters(rest, font, frames, next))

Uses (9)

Used by (1)