A binding for the library
Note that you need to build with the
ttf for this module to be enabled,
$ cargo build --features "ttf"
If you want to use this with from inside your own crate, you will need to add this in your Cargo.toml
[dependencies.sdl2] version = ... default-features = false features = ["ttf"]
A loaded TTF font.
The styling of a font.
Information about a specific glyph (character) in a font face.
A builder for a font rendering.
A context manager for
A font-related error.
Information about the hinting of a font. See wikipedia
An error for when
Returns the version of the dynamically linked
Returns whether library has been initialized already.
Initializes the truetype font API and returns a context manager which will clean up the library once it goes out of scope.
The result of an