Module avrox_display::gfx::primitives

source ·
Expand description

Very simple graphics primitives like lines and boxes.

Modules§

  • Positioning helpers for those layout primitives that may choose where to render their children (e.g. centred, right-justified, etc.)

Structs§

  • Apply an integer scale factor to an element
  • Apply a translation to an element
  • Lay out a pair of elements horizontally left to right
  • Layers one object on top of the other; if the top object can’t render a requested pixel, then the bottom layer is asked to do so instead
  • Draws a solid-colour rectangle around its contents

Traits§

  • A trait for positioning classes, that allow us to tell a component to align (left/centre/right or top/middle/bottom) within a space.