Type Definition WindowCanvas
simple_game_engine::canvas
type WindowCanvas = Canvas<Window, WindowContext>;
A Canvas that renders to a Window on the screen.
Canvas
Window
impl WindowCanvas
pub fn new(inner: SdlCanvas<Window>) -> Self
Create a new Canvas from the specified sdl2 WindowCanvas that draws to a window on the screen
WindowCanvas