def ttf.place.shifted

gralha-truetype@0.1.0.1 · font.bend:301

import gralha-truetype@0.1.0.1/font.bend as Font
import Base

301def ttf.place.shifted(child: TTGlyph, off: F32 & F32) -> TTGlyph:
302  TTGlyph{points, ends, count} = child
303  (dx, dy) = off
304  TTGlyph{ttf.transform(points, 1.0, 0.0, 0.0, 1.0, dx, dy), ends, count}

Uses (5)

Used by (1)