hephaestus 0.1.0

Backend-agnostic 2D scene renderer for data visualization.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Path representation. `Path` is `kurbo::BezPath`, which natively supports
//! moveto/lineto/quadto/curveto/closepath (no conic Beziers — intentional, to
//! match the Vello ∩ Blend2D intersection).

pub use kurbo::{BezPath as Path, PathEl};

/// Fill rule. Both Vello and Blend2D support both rules.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum FillRule {
    NonZero,
    EvenOdd,
}