MCPcopy Create free account
hub / github.com/Logicalshift/flo_draw / create_drawing_window

Function create_drawing_window

draw/src/drawing_window.rs:66–71  ·  view source on GitHub ↗

Creates a drawing target that will render to a window

(window_properties: TProperties)

Source from the content-addressed store, hash-verified

64/// Creates a drawing target that will render to a window
65///
66pub fn create_drawing_window<'a, TProperties: 'a+FloWindowProperties>(window_properties: TProperties) -> DrawingTarget {
67 let (target, _events) = create_drawing_window_with_events(window_properties);
68
69 // Dropping the events will stop the window from blocking when they're not handled
70 target
71}
72
73///
74/// Creates a drawing target that will render to a window, along with a stream of events from that window

Callers 15

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

Tested by

no test coverage detected