draw

module framesource

A frame: nodes changed since the last encoded again, their old and new bounds damaged, then the instances touching each damaged rectangle gathered in painter's order, in runs of one texture, and drawn under its scissor into the kept texture, which is copied to the frame or, for a canvas over another's drawing, blended over it.