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
#![doc(html_logo_url = "https://nical.github.io/lyon-doc/lyon-logo.svg")]

extern crate euclid;

pub mod math;
pub mod path_state;
pub mod events;
pub mod fixed;

pub use path_state::*;
pub use events::*;

/// Flag parameters for arcs as described by the SVG specification.
#[derive(Copy, Clone, Debug, PartialEq)]
pub struct ArcFlags {
    pub large_arc: bool,
    pub sweep: bool,
}

impl Default for ArcFlags {
    fn default() -> Self {
        ArcFlags {
            large_arc: false,
            sweep: false,
        }
    }
}