Function kioto::video::draw_text [−][src]
pub fn draw_text(text: &str, x: i32, y: i32, size: i32, color: Color)
Draws the given text string with the given color.
Examples
use kioto::video; video::draw_text("Hello, world!", 0, 0, 32, video::Color::WHITE);