1
0
Fork 0
freesewing/sites/dev
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
..
components feat(shared): Include URL in search results 2023-11-04 09:21:25 +01:00
hooks wip(dev): Updating tutorial for v3 2023-09-29 19:41:24 +02:00
pages feat(shared): Added Mastodon verification 2023-11-07 19:51:42 +01:00
prebuild chore: Adapt sites to recent changes 2022-06-17 12:02:09 +02:00
public feat(shared): Add OG images to prebuild 2023-11-03 13:34:47 +01:00
i18n.config.mjs chore: Adapt sites to recent changes 2022-06-17 12:02:09 +02:00
jargon.mjs feat(core): Added Path.combine and related changes, closes #5976 2024-02-10 15:40:41 +01:00
next-i18next.config.js chore: Adapt sites to recent changes 2022-06-17 12:02:09 +02:00
next.config.mjs feat(dev): Ported dev site to new v3 site framework 2023-05-16 10:34:13 +02:00
package.json Merge pull request #5985 from freesewing/dependabot/npm_and_yarn/daisyui-4.6.2 2024-02-08 18:53:56 +01:00
postcss.config.js chore: Adapt sites to recent changes 2022-06-17 12:02:09 +02:00
prebuild.mjs feat(shared): Add dynamic OG images 2023-11-03 15:36:09 +01:00
site.config.mjs feat(shared): Implemented search and indexing 2023-11-02 17:17:11 +01:00
skip_build.mjs chore: More tweaks to skip-build script 2023-07-16 10:03:59 +02:00
tailwind.config.mjs feat(wip): Ported dev to new ESM themes 2023-07-29 18:22:39 +02:00
vercel.json fix: Typo in branch name 2023-10-29 10:16:04 +01:00