Paints an element tree into a Buffer using layout results.
Walks the element tree in z-order (painter's algorithm), writing characters and colors into the cell buffer. Each element type has its own painting logic.
Summary
Functions
Paint the element tree into the buffer using computed layout.