def filter.blend.lum

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

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

4567def filter.blend.lum(c: Img.Color) -> F32:
4568  Img.Color{r, g, b, a} = c
4569  (0.3 * r + 0.59 * g + 0.11 * b : F32)

Uses (4)

Used by (3)