lua.wetgenes.grdpaint
local wgrdpaint=require("wetgenes.grdpaint")
We use wgrdpaint as the local name of this library.
Add extra functionality to wetgenes.grd primarily these are functions that are used by swanky paint to manage its internal data.
Primarily we add a concept of "layers" and "history" these interfaces are added to a grd via a new object that lives inside the grd table and binds them together.
EG grd.history contains history data and functions.
As these are written first for swankypaint they may only work with indexed images and are currently in state of flux so may take a while to settle down.