Expand description
Drawing renderer trait and rendering utilities.
Re-exports the DrawingRenderer trait for rendering drawing tools and provides the
utility functions render_handles, point_near_line and point_near_points for
custom renderers.
Re-exports§
pub use crate::drawings::registry::DrawingRenderer;
Functions§
- point_
near_ line - Helper function to check if a point is near a line segment
- point_
near_ points - Helper function to check if a point is near any point in a list
- render_
handles - Helper function to render selection handles