kobo-core 0.3.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
14
15
16
17
18
// SPDX-License-Identifier: MIT
// Copyright (c) 2026 Nayeem Bin Ahsan
//! 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()`
//! - [`density`] - panel ppi lookup and `dp()` physical-size-stable sizing

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