Skip to content

Display Graphics

lbuild module: modm:ui:display

Code for writing and drawing on character and graphical displays.

Coordinate System

(0, 0)
   +---------------------+
   |  ----> X            |
   | |                   |
   | |                   |
   | V Y                 |
   |                     |
   |                     |
   |                     |
   +---------------------+
               e.g. (127, 63)

The size (width and height) of a graphics primitive always correspond to its mathematical model, ignoring the rendered with. As everything is drawn one pixel wide, the pixels will be rendered to the right and below the mathematically defined points.

Dependencies

modm:ui:display

modm_ui_display modm: ui: display

modm_architecture_accessor modm: architecture: accessor

modm_ui_display->modm_architecture_accessor

modm_io modm: io

modm_ui_display->modm_io

modm_math_geometry modm: math: geometry

modm_ui_display->modm_math_geometry

modm_math_utils modm: math: utils

modm_ui_display->modm_math_utils