1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! The embedded-graphics backend for the Piet 2D graphics abstraction.

#![no_std]
#![feature(const_transmute)]

mod batch;
mod brush;
mod context;
mod display;
mod image;
mod status;
mod text;

#[cfg(test)]
mod test;

pub use context::EmbedRenderContext;
pub use brush::Brush;
pub use text::{
    EmbedFont,
    EmbedFontBuilder,
    EmbedText,
    EmbedTextLayout,
    EmbedTextLayoutBuilder,
};
pub use display::{ start_display, draw_to_display, set_display_pixels, show_touch };