xous-core/services/graphics-server/src/blitstr2.rs
bunnie a46c07b4be initial attempt to integrate blitstr2
this just grafts in the new crate, while leaving the old crate
unscathed. once this is somewhat functional we'll excise the old
crate and reformat the loader for the "hard binary" image of
the fonts.
2022-01-19 03:29:53 +08:00

20 lines
No EOL
517 B
Rust

mod blit;
pub use blit::*;
mod cliprect;
pub use cliprect::*;
mod fonts;
pub use fonts::*;
mod cursor;
pub use cursor::*;
mod pt;
pub use pt::*;
mod glyphstyle;
pub use glyphstyle::*;
const LINES: usize = crate::backend::FB_LINES;
const WIDTH: usize = crate::backend::FB_WIDTH_PIXELS;
const WORDS_PER_LINE: usize = crate::backend::FB_WIDTH_WORDS;
pub type FrBuf = [u32; WORDS_PER_LINE * LINES];
// add more fonts (an example):
// https://github.com/samblenny/blitstr2/commit/bb7d4ab6a2d8913dcb520895a3c242c933413aae