def text.path.glyph.matrix
gralha-svg-render@0.1.0.1 · svg.bend:3557
import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base
3557def text.path.glyph.matrix(+mat: Matrix, +position: Matrix, +advance: F32) -> Matrix:
3558 Matrix{a, b, c, d, e, f} = mat
3559 Matrix{tx, ty, nx, ny, px, py} = position
3560 +aa = (tx * a + nx * b : F32)
3561 +bb = (ty * a + ny * b : F32)
3562 Matrix{aa, bb, (tx * c + nx * d : F32), (ty * c + ny * d : F32), (px + nx * f - aa * advance / 2.0 : F32), (py + ny * f - bb * advance / 2.0 : F32)}