def matrix.show

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

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

3022def matrix.show(m: Matrix) -> String:
3023  Matrix{a, b, c, d, e, f} = m
3024  # Commas between all six values are required in CSS style declarations.
3025  "matrix(" ++ F32.show(a) ++ "," ++ F32.show(b) ++ "," ++ F32.show(c)
3026    ++ "," ++ F32.show(d) ++ "," ++ F32.show(e) ++ "," ++ F32.show(f) ++ ")"

Uses (4)

Used by (5)