Skip to main content

egui_charts/drawings/services/
mod.rs

1//! Selection, undo history, snapping, handles and draw ordering for drawings.
2//!
3//! [`DrawingManager`](super::DrawingManager) coordinates these operations for a chart. Use the individual
4//! services when implementing your own drawing interaction or renderer.
5
6mod handle;
7mod history;
8mod interaction;
9mod selection;
10mod snap;
11mod z_order;
12
13pub use handle::{HandleConfig, HandleService};
14pub(crate) use history::DrawingCommand;
15pub use history::HistoryService;
16pub use interaction::{DrawingInteraction, point_to_line_distance};
17pub use selection::SelectionService;
18pub use snap::{SnapOptions, SnapService, SnapTargets};
19pub use z_order::ZOrderService;
20pub(crate) use z_order::in_z_order;