Implement Line tool (#71)

* Add Line tool
This commit is contained in:
Edwin Cheng
2021-04-13 12:43:05 +08:00
committed by Keavon Chambers
parent 6511f5a628
commit f12db377f4
7 changed files with 92 additions and 5 deletions
+8
View File
@@ -16,6 +16,14 @@ pub enum Operation {
x1: f64,
y1: f64,
},
AddLine {
path: Vec<LayerId>,
insert_index: isize,
x0: f64,
y0: f64,
x1: f64,
y1: f64,
},
DeleteLayer {
path: Vec<LayerId>,
},