Add ToolData and rectangle tool (#64)

This commit is contained in:
TrueDoctor
2021-04-07 09:25:23 +02:00
committed by GitHub
parent 59f7af3f47
commit 89ed123356
7 changed files with 103 additions and 17 deletions
+1
View File
@@ -1,3 +1,4 @@
pub enum Operation {
AddCircle { cx: f64, cy: f64, r: f64 },
AddRect { x0: f64, y0: f64, x1: f64, y1: f64 },
}