Struct glium_text_rusttype::TextDisplay [] [src]

pub struct TextDisplay<F> where
    F: Deref<Target = FontTexture>, 
{ /* fields omitted */ }

Object that will allow you to draw a text.

Methods

impl<F> TextDisplay<F> where
    F: Deref<Target = FontTexture>, 
[src]

Builds a new text display that allows you to draw text.

Returns the width in GL units of the text.

Returns the height in GL units of the text.

Modifies the text on this display.