chickadee » macaw » low-rgb8-mix!

low-hsl-mix! float*_accum float*_color float_weight float*_outprocedure
low-rgb-mix! float*_accum float*_color float_weight float*_outprocedure
low-rgb8-mix! uchar*_accum uchar*_color float_weight uchar*_outprocedure

Low-level versions of rgb-mix etc.

This performs a weighted addition of color onto accum, writing the result to out (which is usually the same pointer as accum). Normally accum should start with all values set to zero, and the procedure should be called once per color being mixed.