def filter.row

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

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

4464def filter.row(row: ColorRow, c: Img.Color) -> F32:
4465  ColorRow{rr, rg, rb, ra, bias} = row
4466  Img.Color{r, g, b, a} = c
4467  (rr * r + rg * g + rb * b + ra * a + bias : F32)

Uses (5)

Used by (1)