//!
//! Bindings for the `SDL3_ttf` extension library.
//!
//!
//! Note that you need to build with the
//! feature `ttf` for this module to be enabled,
//! like so:
//!
//! ```bash
//! $ 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
//!
//! ```toml
//! [dependencies.sdl3]
//! version = ...
//! default-features = false
//! features = ["ttf"]
//! ```

mod context;
mod engine;
mod font;

pub use sdl3_ttf_sys::ttf as sys;

pub use self::context::{get_linked_version, has_been_initialized, init, Sdl3TtfContext};
pub use self::engine::{Text, TextEngine};
pub use self::font::{
    Font, FontError, FontResult, FontStyle, GlyphMetrics, Hinting, PartialRendering,
};
