Trait allegro_font::FontDrawing [] [src]

pub trait FontDrawing {
    fn draw_text(&self, font: &Font, color: Color, x: f32, y: f32, align: FontAlign, text: &str);
    fn draw_justified_text(&self, font: &Font, color: Color, x1: f32, x2: f32, y: f32, diff: f32, align: FontAlign, text: &str);
}

Required Methods

fn draw_text(&self, font: &Font, color: Color, x: f32, y: f32, align: FontAlign, text: &str)

fn draw_justified_text(&self, font: &Font, color: Color, x1: f32, x2: f32, y: f32, diff: f32, align: FontAlign, text: &str)

Implementors