systemless/quickdraw/mod.rs
1//! QuickDraw rendering primitives.
2//!
3//! Submodules cover the parts of QuickDraw that are not directly
4//! mapped to A-line traps in `crate::trap::quickdraw`:
5//!
6//! - [`fonts`] — built-in DejaVu font baking + heuristic family
7//! lookup for `GetFontName` / `GetFNum`, plus a runtime override
8//! path for embedders that want their own font set.
9//! - [`text`] — software glyph rasteriser used by `DrawString`,
10//! `DrawText`, and friends. Reads the active font/style from
11//! the current `GrafPort` and writes pixel coverage directly
12//! into the framebuffer at the current pen location.
13
14pub mod fonts;
15pub mod text;