Function kas_text::raster::raster[][src]

pub fn raster(config: &Config, desc: SpriteDescriptor) -> Option<Sprite>
Expand description

Raster a glyph

Attempts to raster a glyph. Can fail (if the glyph in the given font face is not rasterable), in which case None is returned.