Trait allegro_font::FontDrawing
source · pub trait FontDrawing {
// 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
);
}