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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
//! Astrelis Geometry - Customizable 2D geometry rendering
//!
//! This crate provides:
//! - Path and shape primitives for 2D vector graphics
//! - Tessellation (converting paths/shapes to triangle meshes)
//! - Style system (strokes, fills, gradients)
//! - GPU-accelerated rendering with instancing
//! - Mathematical charting (optional "chart" feature)
//!
//! # Example
//!
//! ```ignore
//! use astrelis_geometry::*;
//!
//! // Create a geometry renderer
//! let mut renderer = GeometryRenderer::new(context);
//!
//! // Draw shapes
//! let style = Style::fill(Paint::solid(Color::RED));
//! renderer.draw_shape(&Shape::circle(Vec2::new(100.0, 100.0), 50.0), &style);
//!
//! // Draw custom paths
//! let path = PathBuilder::new()
//! .move_to(Vec2::new(0.0, 0.0))
//! .line_to(Vec2::new(100.0, 0.0))
//! .quad_to(Vec2::new(150.0, 50.0), Vec2::new(100.0, 100.0))
//! .close()
//! .build();
//! renderer.draw_path(&path, &style);
//!
//! // Render to a pass
//! renderer.render(&mut pass, viewport);
//! ```
// Core primitives
// Styling
// Tessellation
// Rendering
// Chart module (optional)
// Re-exports
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;