modm API documentation
Display Graphics

Modules

 Fonts
 
 Images
 

Classes

class  modm::CharacterDisplay
 
class  modm::ColorGraphicDisplay
 
class  modm::GraphicDisplay
 
class  modm::MonochromeGraphicDisplay< Width, Height, BufferWidth, BufferHeight >
 
class  modm::MonochromeGraphicDisplayHorizontal< Width, Height >
 
class  modm::MonochromeGraphicDisplayVertical< Width, Height >
 
class  modm::VirtualGraphicDisplay
 

Typedefs

using modm::glcd::Point = Vector< int16_t, 2 >
 

Enums

enum  Orientation : uint8_t { Landscape0, Portrait90, Landscape180, Portrait270 }
 

Detailed Description

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.