Skip to main content

Module drawing

Module drawing 

Source
Expand description

Drawing primitives for the buffer.

Provides ergonomic, well-tested helpers on top of Buffer::set() so widgets can draw borders, lines, text, and filled regions without duplicating low-level cell loops.

All operations respect the buffer’s scissor stack (clipping) and opacity stack automatically via Buffer::set().

Structs§

BorderChars
Characters used to draw a border around a rectangle.

Traits§

Draw
Extension trait for drawing on a Buffer.