Crate wasm4fun_graphics[][src]

Expand description

Graphics primitives and subsystems for WASM-4 fantasy console

Structs

A 1-bps or 2-bps bitmap drawable on screen

A view of a modified sprite

Enums

Screen palette

Rotation

Constants

Width and height of the screen in pixels

Traits

A generic view over a sprite or a sprite transformation

Functions

Draw text with 4×4 font using the current colours

Draw centered text with 4×4 font using the current colours

Draw centered text using the current colours

Draw a horizontal line using the current colours

Draw a line using the current colours

Draw a vertical using the current colours

Draw a rectangle using the current colours

Draw text using the current colours

Draw a vertical using the current colours

Get all colours

Set all colours

Set colour for a specific palette index