def cover.stroke

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

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

4183# The covered mesh keeps its bounds and cover; its edges are consumed.
4184def cover.stroke(mesh: StrokeMesh, +frame: Raster, +sub: U32, +trees: Bool) -> StrokeMesh:
4185  StrokeMesh{stree, inv, old} = mesh
4186  EdgeFlat{box, edges} = stree
4187  +iv = inv
4188  StrokeMesh{EdgeFlat{box, Nil{}}, iv, cover.edges(edges, matrix.inverse(iv), False{}, frame, sub, trees)}

Uses (8)

Used by (1)