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
)
[src]

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

Loading content...

Implementations on Foreign Types

impl FontDrawing for Core[src]

Loading content...

Implementors

Loading content...