def cover.at

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

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

116def cover.at(+c: Cover, +p: Point) -> F32:
117  Cover{mask, Point{ox, oy}, step} = c
118  Point{x, y} = p
119  Cov.mask.at(mask, ((x - ox) / step : F32), ((y - oy) / step : F32))

Uses (6)

Used by (4)