Implement Pen Tool (#79)

This commit is contained in:
Edwin Cheng
2021-05-07 02:47:37 -07:00
committed by Keavon Chambers
parent 70f70b70fc
commit 5991181f91
9 changed files with 143 additions and 8 deletions
+6
View File
@@ -28,6 +28,12 @@ pub enum Operation {
y1: f64,
style: style::PathStyle,
},
AddPen {
path: Vec<LayerId>,
insert_index: isize,
points: Vec<(f64, f64)>,
style: style::PathStyle,
},
AddShape {
path: Vec<LayerId>,
insert_index: isize,