pub fn painter<T>( draw: impl FnMut(&mut DrawCx<'_, '_>, &mut T) + 'static, ) -> Painter<T>
Create a new Painter view.
Painter