Graphite/libraries/bezier-rs/src/subpath
Nikita-str f25038067e
Path tool: sliding point insertion (#1581)
* #1578 sliding point works(1st approx)

TODO:
* don't move too close to the side points
* double click works incorrect?
* do we need to jump from segment to segment?

* #1578 disallow move slide point too close to side points

* fix double click + ctrl insertion

* #1578 select insertion point (except `ctrl` case)

* #1578 far depends on line width & more accurate seg finding

* #1578 insert point on most top suitable selected layer

* #1581 draw insertion point by overlay  + `Esc` abort

* #1581 sharp stay unchanged on double click

* #1581 fix incorrect handle of scaling

* #1581 `square` selection point & too close in px(instead of magic)

* #1581 bug fix: insertion point on unselection

* #1581 use `color: Option` instead of `SelectionType`

* Some code review, still need to review shape_editor.rs

* #1581 insert sharp point on a straight segment

Also correct insertion on quadratic segments

`ManipulatorGroup::have_handle` have such form because `handle = Some(self.anchor)` often used instead of `handle = None`

* Final code review pass

* Code review pass

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2024-02-05 08:45:25 +00:00
..
core.rs Add Poisson-disk sampling node and Bezier-rs 0.4 release (#1586) 2024-01-28 02:25:46 -08:00
lookup.rs Sample Points node: fix major inefficiencies 2024-01-06 07:55:19 -08:00
manipulators.rs Fix Pen tool race condition when drawing handles fast, and stuck overlays (#1283) 2023-06-04 04:51:07 +01:00
mod.rs Fix crash on deleting all subpaths (#1460) 2023-11-16 15:42:21 -08:00
solvers.rs Fix floating point error with Poisson-disk points being sampled outside shape (#1596) 2024-02-04 17:16:16 +00:00
structs.rs Path tool: sliding point insertion (#1581) 2024-02-05 08:45:25 +00:00
transform.rs Make the dynamic node graph execution asynchronous (#1218) 2023-05-27 11:48:57 +02:00