def color.add

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

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

594def color.add(c: Img.Color, d: Img.Color) -> Img.Color:
595  Img.Color{r, g, b, a} = c
596  Img.Color{x, y, z, w} = d
597  Img.Color{(r + x : F32), (g + y : F32), (b + z : F32), (a + w : F32)}

Uses (3)

Used by (9)