def local.tolerance

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

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

159# scale is the device pixels per unit of the frame m maps into (1 when m
160# maps to the device, the tile's density for pattern content).
161def local.tolerance(+m: Matrix, +scale: F32) -> F32:
162  (flat.tolerance() / (scale * matrix.norm(m)) : F32)

Uses (6)

Used by (2)