Expand description
Graphics primitives and subsystems for WASM-4 fantasy console
Structs§
- Sprite
- A 1-bps or 2-bps bitmap drawable on screen
- Sprite
View Impl - A view of a modified sprite
Enums§
Constants§
- SCREEN_
SIZE - Width and height of the screen in pixels
Traits§
- Sprite
View - A generic view over a sprite or a sprite transformation
Functions§
- draw_
4x4_ text - Draw text with 4×4 font using the current colours
- draw_
centered_ 4x4_ text - Draw centered text with 4×4 font using the current colours
- draw_
centered_ text - Draw centered text using the current colours
- draw_
horizontal_ line - Draw a horizontal line using the current colours
- draw_
line - Draw a line using the current colours
- draw_
point - Draw a vertical using the current colours
- draw_
rect - Draw a rectangle using the current colours
- draw_
text - Draw text using the current colours
- draw_
vertical_ line - Draw a vertical using the current colours
- get_
drawing_ colors - Get all colours
- set_
drawing_ colors - Set all colours
- set_
one_ drawing_ color - Set colour for a specific palette index