Graphite/libraries/bezier-rs/src
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
..
bezier Path tool: sliding point insertion (#1581) 2024-02-05 08:45:25 +00:00
subpath Path tool: sliding point insertion (#1581) 2024-02-05 08:45:25 +00:00
compare.rs Fix clippy lints (#1327) 2023-07-19 16:38:23 +01:00
consts.rs Bezier-rs: Subpath offset and bezier offset improvements (#1039) 2023-03-03 14:21:21 -05:00
lib.rs Add Poisson-disk sampling node and Bezier-rs 0.4 release (#1586) 2024-01-28 02:25:46 -08:00
poisson_disk.rs Fix floating point error with Poisson-disk points being sampled outside shape (#1596) 2024-02-04 17:16:16 +00:00
symmetrical_basis.rs Bezier-rs: add Tangents/Normals to Point functions (#1547) 2024-01-07 06:33:06 -08:00
utils.rs Bezier-rs: Use nonzero winding order for Poisson-disk insideness test (#1590) 2024-02-04 06:05:26 +00:00