def ttf.point
import gralha-truetype@0.1.0.1/font.bend as Fontimport Base
236def ttf.point(pts: List<&2, TTPoint>, i: Nat) -> TTPoint:
237 match pts i:
238 case Nil{} _: TTPoint{0.0, 0.0, True{}}
239 case Con{h, t} 0n: h
240 case Con{h, t} 1n+p: ttf.point(t, p)