From 7f8a7e92a5096adfe4f56304a1b400feacc3f877 Mon Sep 17 00:00:00 2001 From: Able Date: Mon, 14 Feb 2022 07:48:41 -0600 Subject: [PATCH] graphics api --- ableos/src/graphics_api/text.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ableos/src/graphics_api/text.rs diff --git a/ableos/src/graphics_api/text.rs b/ableos/src/graphics_api/text.rs new file mode 100644 index 0000000..4651552 --- /dev/null +++ b/ableos/src/graphics_api/text.rs @@ -0,0 +1,7 @@ +use super::positions::Position2D; + +use super::pixel_format::Rgba; + +pub type FontSize = u32; + +pub fn draw_char(position: Position2D, character: char, size: FontSize, color: Rgba) {}