def cover.lines.add

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

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

4101# Local edges through m onto the frame's pixel grid in one pass.
4102def cover.lines.add(acc: Cov.CovLines, a: Point, b: Point) -> Cov.CovLines:
4103  Point{ax, ay} = a
4104  Point{bx, by} = b
4105  Cov.lines.add(acc, ax, ay, bx, by)

Uses (3)

Used by (1)