Module avrox_display::gfx

source ·
Expand description

Graphics primitives for our display driver layer. The general philosophy we are taking is that we have far more CPU cycles spare than memory on a chip like an AVR. So rather than keeping a bitmap buffer and writing to it, we take the approach of not holding any buffer and instead implement primitives that can calculate the appropriate value for any given pixel on-demand.

Modules§

  • Dynamic data binding for the display layer
  • Components that just fill a space (with a colour, typically, or possibly with a more interesting pattern.
  • @todo documentation for this module
  • Individual picture elements
  • Very simple graphics primitives like lines and boxes.
  • A seven-segment display graphics primitive

Structs§

Enums§

  • Hints that tell a component the order in which a device will typically ask for pixel data. This may be used by the graphics command to optimise how it retrieves, calculates or caches data.

Traits§

  • Trait implemented by any graphics command that is capable of being rendered onto a 2d plane

Type Aliases§