mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
* Begin implementing viewport selection * Implement viewport click and drag selection for ellipse and rectangle * Begin implementing line selection * Remove debug prints * Run cargo format * Use DVec2 instead of kurbo::Point * Line and polyline intersection * Run cargo format * Add fix for missing layer panel update * Replace point selection with box selection * Formatting Co-authored-by: Keavon Chambers <keavon@keavon.com>
19 lines
331 B
Rust
19 lines
331 B
Rust
pub mod color;
|
|
pub mod document;
|
|
pub mod intersection;
|
|
pub mod layers;
|
|
pub mod operation;
|
|
pub mod response;
|
|
|
|
pub use operation::Operation;
|
|
pub use response::DocumentResponse;
|
|
|
|
pub type LayerId = u64;
|
|
|
|
#[derive(Debug, Clone, Copy, PartialEq)]
|
|
pub enum DocumentError {
|
|
LayerNotFound,
|
|
InvalidPath,
|
|
IndexOutOfBounds,
|
|
NotAFolder,
|
|
}
|