Function flo_draw::create_canvas_window_with_events[][src]

pub fn create_canvas_window_with_events<'a, TProperties: 'a + FloWindowProperties>(
    window_properties: TProperties
) -> (Canvas, impl Clone + Send + Stream<Item = DrawEvent>)
Expand description

Creates a drawing target that will render to a window, along with a stream of events from that window