kobo-core 0.1.0

Kobo e-reader device SDK: device database, sysfs/ioctl, rendering, audio pipeline, trait surface
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Rendering primitives: text engine, UI draw helpers, e-ink constants.
//!
//! - [`text_render`] — HarfBuzz shaping + fontdue rasterization → RGB565
//! - [`common`] — shared rendering state (`IS_RTL`) and body-text size constant
//! - [`layout`] — `word_wrap_bytes()` and `sentences_with_ranges()` (pure text)
//! - [`draw`] — progress bars, rounded rects, nav bars (RGB565 byte-buffer ops)
//! - [`eink`] — MXCFB ioctl structs, waveform constants, `diff_rows()`

pub mod common;
pub mod draw;
pub mod eink;
pub mod layout;
pub mod text_render;