ElixirOpentui.Painter (ElixirOpentui v0.2.0)

Copy Markdown View Source

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.

Functions

paint(root, layout_results, buffer, opts \\ [])

Paint the element tree into the buffer using computed layout.