def stroke.compile.pick
gralha-svg-render@0.1.0.1 · svg.bend:1813
import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base
1813def stroke.compile.pick(measured: Bool, paths: List<&2, Subpath>, r: F32, +settings: StrokeSettings, ref: F32, +declared: F32, +scale: F32) -> List<&2, Edge>:
1814 match measured:
1815 case True{}:
1816 +ps = paths
1817 outline.subpaths(ps, r, joins.of(settings), dash.pattern(settings, ref, (subpaths.length(ps) / declared : F32)), scale, Nil{})
1818 case False{}: outline.subpaths(paths, r, joins.of(settings), dash.pattern(settings, ref, 1.0), scale, Nil{})