1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Display module - Protocol-agnostic image generation for NetGet
//!
//! This module provides LLM-controlled image rendering capabilities that can be used
//! by any protocol requiring visual output (VNC, HTTP image serving, IPP print previews, etc.).
//!
//! ## Architecture
//!
//! - `types` - Core types (Color, Point, Rect, DisplayCommand)
//! - `canvas` - Drawing operations using tiny-skia
//! - `text` - Text rendering using cosmic-text
//! - `ascii` - ASCII art rendering
//!
//! ## Usage Example
//!
//! ```rust,ignore
//! use netget::display::{DisplayCanvas, DisplayCommand, Color};
//!
//! let mut canvas = DisplayCanvas::new(800, 600);
//! canvas.add_command(DisplayCommand::SetBackground {
//! color: Color::rgb(50, 50, 50)
//! });
//! canvas.add_command(DisplayCommand::DrawText {
//! x: 100,
//! y: 100,
//! text: "Hello, World!".to_string(),
//! font_size: 24,
//! color: Color::rgb(255, 255, 255),
//! });
//!
//! let image_buffer = canvas.render();
//! ```
pub use AsciiRenderer;
pub use DisplayCanvas;
pub use TextRenderer;
pub use ;