1
0
Fork 0
freesewing/config
joostdecock a30b08371c feat(core): Added Path.combine and related changes, closes #5976
The discussion in #5976 is whether `Path.join()` should use a line
segment to close any gaps in the path caused by move operations, or by
differences in the end and start points of paths being joined.

The answer is yes, that is the intended behaviour, but people who read
_join_ might expect differently.

So I have made a few changes to clarify this:

- The new `Path.combine()` method combines multiple path instances into
  a single instance without making any changes to the drawing operations
- Since `Path.combine()` is variadic, I have also updated `Path.join()`
  to be variadic too, since that is more consistent.
- The old way of calling `Path.join(path, bool)` is deprecated and will
  log a warning. Calling `Path.join()` this way will be removed in v4.
- Related to this change is how `Path.length()` should behave when there
  are gaps in the path. Currently, it skips those. So I've added a
  parameter that when set to `true` will include them.
- Added documentation for `Path.combine()`
- Updated documentation for `Path.join()`
- Updated documentation for `Path.length()`
2024-02-10 15:40:41 +01:00
..
software feat: Added new designs 2024-02-04 10:52:32 +01:00
templates chore: Updated README templates 2024-02-04 10:52:16 +01:00
authors.mjs chore: Add Thrunic to docs authors file 2023-10-30 18:06:07 +01:00
badges.yaml chore: Extended prettier for config files + run 2022-10-13 16:19:36 +02:00
changelog.yaml feat(core): Added Path.combine and related changes, closes #5976 2024-02-10 15:40:41 +01:00
defaults.yaml chore: Extended prettier for config files + run 2022-10-13 16:19:36 +02:00
dependencies.yaml chore: Updated dependencies 2024-02-04 11:54:17 +01:00
exceptions.yaml Added author entry for Onyx. 2023-10-23 10:14:15 -04:00
keywords.yaml breaking: @freesewing/plugin-bundle is now @freesewing/core-plugins 2023-09-07 11:39:34 +02:00
languages.json feat: Added Ukranian language 2023-07-11 20:17:24 +02:00
logo.mjs fix(shared): Import logo path from non-JSX file 2023-10-28 21:49:28 +02:00
measurements.mjs feat(shared): Overhaul sets 2023-08-23 12:18:20 +02:00
newsletter-testers.mjs wip: Work on i18n support for newsletter 2024-01-01 15:55:49 +01:00
pattern-options.js chore: Extended prettier for config files + run 2022-10-13 16:19:36 +02:00
roles.mjs chore: Add tester role 2023-08-18 17:26:41 +02:00
scripts.yaml fix(lab): Prebuild org as part of lab start 2023-10-12 22:57:19 +02:00
sewing-techniques.mjs feat: Started list of sewing techniques 2023-09-04 17:42:17 +02:00
social.mjs chore: Various small tweaks 2023-11-03 19:41:21 +01:00