def style.margin

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

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

2903def style.margin(s: Style) -> F32:
2904  Style{fill, stroke, col, fo, so, w, even, visible, ss, ms, rendering, order} = s
2905  StrokeSettings{cap, join, limit, dash, offset, vector} = ss
2906  (w * U.max(1.41421356237, limit) / 2.0 : F32)

Uses (6)

Used by (1)