def xscan.rows

gralha-coverage@0.1.0.1 · cover.bend:1043

import gralha-coverage@0.1.0.1/cover.bend as Cover
import Base

1043# The rows of runs of the lines (in their arrays, n of them) by exact areas,
1044# rows with an overlap done with `sub` scanlines.
1045def xscan.rows(+h: U32, lines: Array<F32> & Array<U32>, +n: U32, +sub: U32, +w: U32) -> List<&2, List<&2, Run>>:
1046  xscan.done(xscan.rows.go((((Array.new(F32, depth.for((w * 2 + 4 : U32), 1, 0n), 0.0), Array.new(U32, depth.for((U32.div(w, 32) + 2 : U32), 1, 0n), 0)), lines),
1047    XData{(w + 1 : U32), 0, {Nil{} : List<&2, List<&2, Run>>}, {Nil{} : List<&2, Piece>}, 0, n, sub}), U32.to_nat(h), 0, w))

Uses (17)

Used by (1)