blit-gui 0.1.0

2d drawing for blit
Documentation
//! 2d drawing primitives and display lists for blit

#![no_std]

extern crate alloc;

pub mod blur;
pub mod clear;
pub mod color;
pub mod damage;
pub mod display_list;
pub mod image;
pub mod mesh;
pub mod path;
pub mod rectangle;
pub mod shadow;
pub mod style;
pub mod text;

use crate::text::TextSystem;

pub trait Context: blit::Context<Scalar = f32> + blit::HasFrameStore {
    fn text(&mut self) -> &mut dyn TextSystem;
}