def filter.convolution.sample

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

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

4709def filter.convolution.sample(+spec: Convolution, +input: FilterInput, +p: Point, +linear: Bool) -> Img.Color:
4710  Convolution{kernel, divisor, bias, preserve, edge, limits} = spec
4711  filter.convolution.finish(filter.convolution.sum(kernel, input, limits, edge, preserve, p, linear, Img.clear()), divisor, bias, preserve, filter.input.color(input, p, linear))

Uses (9)

Used by (1)