Transform API (#301)

* Enforce cache dirtification

* Turn all shapes into one struct

* Remove working folder

* Remove old shapes

* Major restructuring

* Refactor Ellipse, Rectangle and ShapeTool

* Simplify bounding box calculation for folder

* Fix panic in select tool

*  Refactorselect tool

* Refactor Align

* Refactor flipping layers

* Zoom to fit all

* Refactor tools to avoid state keeping

* Refactor more tools to use state that is passed along

* Fix whitespace + change selection box style

* Set viewbox of svg export based on the contents
This commit is contained in:
TrueDoctor
2021-08-06 12:34:30 +02:00
committed by Keavon Chambers
parent a9364f5122
commit da290f1e63
55 changed files with 2059 additions and 2251 deletions
+2 -2
View File
@@ -11,6 +11,6 @@ license = "Apache-2.0"
[dependencies]
log = "0.4"
kurbo = {version="0.8", features = ["serde"]}
kurbo = {git="https://github.com/linebender/kurbo", features = ["serde"]}
serde = { version = "1.0", features = ["derive"] }
glam = { version = "0.16", features = ["serde"] }
glam = { version = "0.17", features = ["serde"] }