Struct glium_graphics::GlyphCache [] [src]

pub struct GlyphCache<F> { /* fields omitted */ }

Caches characters for a font.

Methods

impl<F> GlyphCache<F> where
    F: Facade
[src]

Constructs a GlyphCache from a Font.

Constructor for a GlyphCache.

Trait Implementations

impl<F: Facade> CharacterCache for GlyphCache<F>
[src]

The textyre type associated with the character cache.

Get reference to character.

Return the width for some given text.