def ttf.assemble.next

gralha-truetype@0.1.0.1 · font.bend:373

import gralha-truetype@0.1.0.1/font.bend as Font
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U
import gralha-bytes@0.1.0.1/bytes.bend as Bin

373def ttf.assemble.next(+b: Bin.Bytes, +f: TTFont, stack: List<&2, TTFrame>) -> List<&2, TTFrame>:
374  match stack:
375    case Nil{}: Nil{}
376    case Con{frame, parents}:
377      +parentsDup = parents
378      +fr = frame
379      U.branch(List<&2, TTFrame>, U32.is_eq(ttf.frame.at(fr), 0), _ => ttf.assemble.pop(fr, parentsDup), _ => ttf.assemble.step(b, f, fr, parentsDup))

Uses (9)

Used by (1)