def filter.blend.clip.scale

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

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

4582def filter.blend.clip.scale(c: Img.Color, +l: F32, +scale: F32) -> Img.Color:
4583  Img.Color{r, g, b, a} = c
4584  Img.Color{(l + (r - l) * scale : F32), (l + (g - l) * scale : F32), (l + (b - l) * scale : F32), 1.0}

Uses (5)

Used by (1)