grafia 0.7.0

Interactive 2D cubic Bezier contour, glyph, and vector canvas engine for egui with variable-font master compatibility and stylus brush support.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! `SPEC-004` (`grafia v0.3.0`) Snapping, Local & Global Guides (`CanvasGuide`), Magnetic `SnapEngine`
//! (`SnapEngine`), and Alignment Zone Badges (`drawAlignmentZoneIndicators:`).

pub mod guides;
pub mod snap_engine;

pub use guides::{
    calculate_guide_intersections, normalize_guide_angle, smart_two_node_guide_geometry, Guide,
    GuideHitKind, GuideId, GuideMeasurementRay, GuideMeasurementSegment, SelectedGuideRef,
};
pub use snap_engine::{
    classify_node_alignment, ActiveSnapper, AlignmentBadgeMode, AlignmentZone, GlyphMetrics,
    SnapEngine, SnapResult,
};