embedded-layout
embedded-layout
extends embedded-graphics
with basic layout functions.
Example
Draw some text to the center of the display:
use *;
use ;
let display_area = disp.display_area;
let text_style = new
.text_color
.build;
new
.into_styled
.align_to
.draw
.unwrap;