Graphite/editor/src
Dennis Kobert 3eb98c6d6d
Add path-bool library (#1952)
* Add path-bool library

* Cleanup code

* Cargo format

* Integrate boolean ops into graphite

* Add test for editor crash

* Fix edge sort floating point instability

* Add unit test for red-dress failure

* Backport tests and aux functions

* Use curvature based sorting

* Convert linear cubic splines to line segments

* Deduplicate reversed path segments

* Fix epsilon for empty segments

* Remove parameter based intersection pruning

* Add support for reversed paths

* Add benchmark infrastructure

* Add intersection benchmark

* Add recursion bound

* Implement support for overlapping path segments

* Remove rouge prinln

* Fix sorting for bezier segments with one control point at the start of the segment

* Cleanup log statements

* Directly translate graphite paths to Path segments

* Round data before passing it to path_bool

* Fix flag_faces traversal order

* Add test for white dots in bottom right of painted dreams

* Make rounding configurable

* Update demo artwork to remove manual path modifications

* Convert from path segments to manipulator groups directly

* Remove dead code

* Fix clippy lints

* Replace functions in path segment with methods and add documentation

* Add more documentation

* Close subpaths

* Reorganize files and add README.md

* Add license information

* Code review

* Fix license info

* Adopt new node macro and fix demo artwork

* Close subpaths with Z

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2024-09-21 02:06:43 -07:00
..
messages Add path-bool library (#1952) 2024-09-21 02:06:43 -07:00
application.rs Fix a lot of Clippy warnings (#1808) 2024-07-09 05:02:52 -07:00
consts.rs Use overlays to draw artboard names (#1981) 2024-09-20 22:04:31 +00:00
dispatcher.rs Add shifting of layers in stacks as blocks that collide and bump other layers/nodes (#1940) 2024-08-22 01:56:32 -07:00
generate_ts_types.rs Reorganize cargo dependencies and upgrade most of them (#1815) 2024-07-09 04:08:28 -07:00
lib.rs Update Imaginate to output bitmap data to the graph via Image Frame node (#1001) 2023-02-11 08:56:31 +00:00
macros.rs Restructure the entire editor codebase to consistently match the message hierarchy 2022-08-05 05:38:11 -07:00
node_graph_executor.rs Refactor the node macro and simply most of the node implementations (#1942) 2024-09-20 03:50:30 -07:00
test_utils.rs Improve layer positioning in graph upon reordering; improve history system; add selection history (#1945) 2024-09-01 02:34:18 -07:00
utility_traits.rs Clean up arg order in process_message() so data is last 2023-01-29 04:07:41 -08:00