ori::prelude

Function painter

Source
pub fn painter<T>(
    draw: impl FnMut(&mut DrawCx<'_, '_>, &mut T) + 'static,
) -> Painter<T>
Expand description

Create a new Painter view.