Function sdl2_ttf::init
[−]
[src]
pub fn init() -> Result<Sdl2TtfContext, InitError>
Initializes the truetype font API and returns a context manager which will clean up the library once it goes out of scope.