James Lindsay
1652c713a6
Add nondestructive vector editing ( #1676 )
...
* Initial vector modify node
* Initial extraction of data from monitor nodes
* Migrate to point id
* Start converting to modify node
* Non destructive spline tool (tout le reste est cassé)
* Fix unconnected modify node
* Fix freehand tool
* Pen tool
* Migrate demo art
* Select points
* Fix the demo artwork
* Fix the X and Y inputs for path tool
* G1 continous toggle
* Delete points
* Fix test
* Insert point
* Improve robustness of handles
* Fix GRS shortcuts on path
* Dragging points
* Fix build
* Preserve opposing handle lengths
* Update demo art and snapping
* Fix polygon tool
* Double click end anchor
* Improve dragging
* Fix text shifting
* Select only connected verts
* Colinear alt
* Cleanup
* Fix imports
* Improve pen tool avoiding handle placement
* Improve disolve
* Remove pivot widget from Transform node properties
* Fix demo art
* Fix bugs
* Re-save demo artwork
* Code review
* Serialize hashmap as tuple vec to enable deserialize_inputs
* Fix migrate
* Add document upgrade function to editor_api.rs
* Finalize document upgrading
* Rename to the Path node
* Remove smoothing from Freehand tool
* Upgrade demo artwork
* Propertly disable raw-rs tests
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com>
Co-authored-by: Adam <adamgerhant@gmail.com>
Co-authored-by: Dennis Kobert <dennis@kobert.dev>
2024-07-05 13:42:40 -07:00
0HyperCube
de407f8b23
Use builder pattern for widgets ( #941 )
...
* Use builder pattern for widgets
* Arguments to new function
2023-01-08 14:34:24 +00:00
Keavon Chambers
9e34199ca9
Additional cleanup of prelude imports in editor codebase
...
Closes #744
2022-08-05 17:09:37 -07:00
Keavon Chambers
e4306c30e2
Restructure the entire editor codebase to consistently match the message hierarchy
...
Closes #744
2022-08-05 05:38:11 -07:00
Oliver Davies
03633bf313
Rename vector components to match new terminology ( #719 )
...
* Renamed VectorAnchor, VectorShape and VectorControlPoint. Also fixed other naming inconsistencies.
* Renamed messages relating to vector and updated naming in several tools
* Renamed comments + caught a few areas I had missed.
* Caught a few more incorrect names
* Code review pass
* Review changes
* Fixed warning
* Additional review feedback
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2022-07-12 17:59:06 -07:00
0HyperCube
45edeb2a2b
Implement the Crop Tool for artboard resizing ( #519 )
...
* Extract transformation cage to a seperate file
* Hook up tool
* Implement resize
* Draw artboards
* centre and constrain
* Bounding box is rotated
* Fix transform handle positions for artboard
* Drag layers
* Snapping
* Fix imports
* Cleanup
* Remove allocation from bounding_boxes
* Round artboard size and position
* Hints
* Fix rotated transform cage
* Code review changes
* Hints changes
Co-authored-by: Dennis <dennis@kobert.dev>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2022-02-09 23:22:23 +00:00
Keavon Chambers
f48d4e1884
Massively reorganize and clean up the whole Rust codebase ( #478 )
...
* Massively reorganize and clean up the whole Rust codebase
* Additional changes during code review
2022-01-14 14:58:08 -08:00
Keavon Chambers
5b3cbb30fc
Fix all clippy lint errors
2021-12-30 23:05:54 -08:00
Keavon Chambers
3dea989a00
New overlay system that reimplements how overlays are drawn ( #418 )
...
* New overlay system that reimplements how overlays are drawn
* Fix overlay message declaration
* Fix small mistake
* WIP (broken) changes to plumb the overlay document
* Fix confusion over messaging system architecture
* Removed log
* Overlay system working
* (broken) WIP overlay association
* Finish the overlay system (except test failure)
* Change back IDs in test
* Fixed test, but stilled fails due to revealed real problem with layer reordering selection
* Disable broken test that has a bug in issue #444
Co-authored-by: Dennis <dennis@kobert.dev>
Co-authored-by: otdavies <oliver@psyfer.io>
2021-12-30 09:48:39 -08:00
Keavon Chambers
53ad105f57
Restructure project directories ( #333 )
...
`/client/web` -> `/frontend`
`/client/cli` -> *delete for now*
`/client/native` -> *delete for now*
`/core/editor` -> `/editor`
`/core/document` -> `/graphene`
`/core/renderer` -> `/charcoal`
`/core/proc-macro` -> `/proc-macros` *(now plural)*
2021-08-07 05:17:18 -07:00