Svg.matrix.norm: def of gralha-svg-render@0.1.0.1 Import: import gralha-svg-render@0.1.0.1/svg.bend as Svg Lines 153-157 of gralha-svg-render@0.1.0.1/svg.bend: https://jend.leeeet.dev/read.txt?path=gralha-svg-render@0.1.0.1/svg.bend&start_line=153&end_line=157 import Base import gralha-text-scan@0.1.0.1/scan.bend as U # The largest scale the matrix applies to any direction, bounded by its # Frobenius norm; local tolerance = pixel tolerance / scale. def matrix.norm(+m: Matrix) -> F32: Matrix{a, b, c, d, e, f} = m U.max(0.000001, F32.sqrt((a * a + b * b + c * c + d * d : F32))) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.sqrt https://jend.leeeet.dev/definition.txt?path=gralha-svg-render@0.1.0.1/svg.bend&name=Matrix https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=max