Implement Pen Tool (#79)

This commit is contained in:
Edwin Cheng
2021-04-23 00:12:24 +08:00
committed by Keavon Chambers
parent b556dd6bfd
commit e40727e914
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,