Drawing over a finished picture: whatever a function draws onto a frame the picture's size is laid over the picture's RGBA, every other pixel left as it was. The function is run on two frames of different colours, so a pixel it drew is known whatever colour it drew in. Rows it drew nothing on are copied whole.
ElixirDoom.Layer.over(rgba, {width, height}, palette, &ElixirDoom.Text.draw(&1, ...))
Summary
Functions
rgba (width by height) with what draw draws laid over it, through palette.
Functions
@spec over( binary(), {pos_integer(), pos_integer()}, binary(), (Cauldron2D.Sectors.Frame.t() -> Cauldron2D.Sectors.Frame.t()) ) :: binary()
rgba (width by height) with what draw draws laid over it, through palette.