Graphite/libraries/bezier-rs/src
Dennis Kobert 9a62c1c089
Fix Poisson-disk sampling with negative space from nested subpaths (#2569)
* Fix poisson disk sampling with nested subpaths

Previously all subpaths were considered independently for the poisson disk sampling evaluation. We now check agains all subpaths which might contain the point to fix shapes with holes such as fonts with letters with holes in them

* Fix wasm demo

* Fix counting overlapping areas twice

* Rename shape variables to subpath variants
2025-04-15 13:37:20 +00:00
..
bezier Upgrade to the Rust 2024 edition (#2367) 2025-03-12 17:29:12 -07:00
subpath Fix Poisson-disk sampling with negative space from nested subpaths (#2569) 2025-04-15 13:37:20 +00:00
compare.rs Upgrade to the Rust 2024 edition (#2367) 2025-03-12 17:29:12 -07:00
consts.rs Attribute-based vector format refactor (#1624) 2024-03-09 10:27:30 -08:00
lib.rs Add nondestructive vector editing (#1676) 2024-07-05 13:42:40 -07: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
polynomial.rs Upgrade to the Rust 2024 edition (#2367) 2025-03-12 17:29:12 -07:00
symmetrical_basis.rs Upgrade to the Rust 2024 edition (#2367) 2025-03-12 17:29:12 -07:00
utils.rs Upgrade to the Rust 2024 edition (#2367) 2025-03-12 17:29:12 -07:00