Implement Line tool (#71)

* Add Line tool
This commit is contained in:
Edwin Cheng
2021-04-12 21:43:05 -07:00
committed by GitHub
parent 8c957e572b
commit 1fd298cf9e
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>,
},