Module simple_game_engine::canvas[][src]

Provides the Canvas struct, which allows the screen to be manipulated, such as by drawing points, lines, rectangles, text, or textures to it.

Structs

Canvas

This struct allows you to draw to the screen in various ways. It is a wrapper around:

Type Definitions

SurfaceCanvas

A Canvas that internally renders to a Surface.

WindowCanvas

A Canvas that renders to a Window on the screen.