Add ToolData and rectangle tool (#64)

This commit is contained in:
TrueDoctor
2021-04-07 09:25:23 +02:00
committed by Keavon Chambers
parent fafea371ab
commit 599d478a5c
7 changed files with 103 additions and 17 deletions

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 },
}