Graphite/node-graph/gcore/src
Priyanshu 2306e9866e
Refactor the 'Offset Path' node to use Kurbo entirely (#2946)
* impl function for segment intersections

* fix and improve segment intersections

* copy and refactor related segment intersection methods

* copy and refactor tests for segment intersection from bezier-rs

* impl intersection with bezpaths

* copy and refactor tests

* rename few variables in the tests module

* rename position_on_bezpath to evaluate_bezpath

* copy and refactor function to clip two intersecting simple bezpaths

* refactor comments

* copy and refactor functions for milter join

* copy and refactor milter and round join functions from bezier-rs

* it worked! refactor offset path node impl

* fix few bugs

* improve vars names and add comments

* Code review

* fmt

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2025-07-31 17:44:27 -07:00
..
math Prep `gcore` splitup: move various symbols into their own modules (#2746) 2025-06-27 09:54:34 +00:00
raster Display images in the SVG viewport renderer via canvases instead of base64 PNGs (#2903) 2025-07-24 17:14:38 -07:00
text Add text alignment to the Text node (#2920) 2025-07-25 22:04:12 -07:00
vector Refactor the 'Offset Path' node to use Kurbo entirely (#2946) 2025-07-31 17:44:27 -07:00
animation.rs Remove the `serde` feature and instead just always require it (#2737) 2025-06-21 16:52:47 -07:00
blending_nodes.rs Prep `gcore` splitup: move various symbols into their own modules (#2746) 2025-06-27 09:54:34 +00:00
bounds.rs Extract `gsvg_renderer` from `gcore`, remove `gcore/vello` feature (#2760) 2025-06-27 13:47:46 +00:00
consts.rs Add Vello support for Outline view mode rendering; add non_scaling to strokes (SVG, not yet Vello) (#2455) 2025-04-07 00:02:11 +00:00
context.rs Shaders: add `gcore-shaders` and make `graster-nodes` no-std (#2925) 2025-07-25 17:53:26 +00:00
debug.rs Clean up node catalog by adding missing units, more tooltips; fix 'Line' node missing parameters (#2813) 2025-07-01 07:47:54 -07:00
extract_xy.rs Rename the Coordinate data type to Vec2 (#2959) 2025-07-30 22:53:36 -07:00
generic.rs Bulk `gcore` cleanup, replace `core` and `alloc` with `std` (#2735) 2025-06-21 23:08:33 +00:00
gradient.rs Prep `gcore` splitup: move various symbols into their own modules (#2746) 2025-06-27 09:54:34 +00:00
graphic_element.rs remove inner enum from raster types (#2929) 2025-07-25 16:15:21 +00:00
instances.rs Clean up code by using Iterator::collect() when constructing instance tables (#2918) 2025-07-23 05:51:40 +00:00
lib.rs Shaders: add `gcore-shaders` and make `graster-nodes` no-std (#2925) 2025-07-25 17:53:26 +00:00
logic.rs Improve the HTTP request nodes and add new related nodes (#2896) 2025-07-18 05:03:50 -07:00
memo.rs Add `::IDENTITY` to node macro to return a `ProtoNodeIdentifier` that is always a `&'static str` (#2842) 2025-07-07 16:29:59 -07:00
misc.rs Update #[min/max] node macro attributes to #[soft/hard]_[min/max] and make them clamp their input data (#2464) 2025-04-30 23:52:27 -07:00
ops.rs Clean up node catalog by adding missing units, more tooltips; fix 'Line' node missing parameters (#2813) 2025-07-01 07:47:54 -07:00
raster.rs Shaders: add `gcore-shaders` and make `graster-nodes` no-std (#2925) 2025-07-25 17:53:26 +00:00
raster_types.rs remove inner enum from raster types (#2929) 2025-07-25 16:15:21 +00:00
registry.rs Shaders: add `gcore-shaders` and make `graster-nodes` no-std (#2925) 2025-07-25 17:53:26 +00:00
render_complexity.rs Add a complexity limit on displaying layer thumbnails to improve performance (#2828) 2025-07-10 07:57:45 +00:00
structural.rs Bulk `gcore` cleanup, replace `core` and `alloc` with `std` (#2735) 2025-06-21 23:08:33 +00:00
text.rs Add text alignment to the Text node (#2920) 2025-07-25 22:04:12 -07:00
transform.rs Add transform-related nodes to improve transformation abilities (#2893) 2025-07-17 11:58:57 -07:00
transform_nodes.rs Add transform-related nodes to improve transformation abilities (#2893) 2025-07-17 11:58:57 -07:00
types.rs Add `::IDENTITY` to node macro to return a `ProtoNodeIdentifier` that is always a `&'static str` (#2842) 2025-07-07 16:29:59 -07:00
uuid.rs Bulk `gcore` cleanup, replace `core` and `alloc` with `std` (#2735) 2025-06-21 23:08:33 +00:00
value.rs Shaders: add `gcore-shaders` and make `graster-nodes` no-std (#2925) 2025-07-25 17:53:26 +00:00