1
0
Fork 0
freesewing/markdown/dev/reference
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
..
api feat(core): Added Path.combine and related changes, closes #5976 2024-02-10 15:40:41 +01:00
backend fix(markdown) Fix typos 2024-01-21 11:16:40 -08:00
css feat(markdown): Clarify css classes. Closes #4120 2023-10-29 11:16:34 +01:00
hooks fix(markdown): Remove unused list attribute from ReadMore tags 2024-01-29 08:43:38 -08:00
macros fix(markdown): Remove unused list attribute from ReadMore tags 2024-01-29 08:43:38 -08:00
measurements fix(markdown): Add missing waistToArmpit measurement to dev docs 2024-01-14 14:05:59 +01:00
packages fix(markdown): Add supported language info for Ukrainian 2024-01-24 15:50:35 -08:00
plugins chore(markdown): Changes to refer less to models 2023-10-30 19:27:24 +01:00
settings fix(markdown): Add link to multisets in Settings doc 2024-02-02 06:52:36 -08:00
sites fix(markdown) Fix typos 2024-01-21 11:16:40 -08:00
snippets fix(markdown): Remove unused list attribute from ReadMore tags 2024-01-29 08:43:38 -08:00
store-methods fix(markdown): Remove unused list attribute from ReadMore tags 2024-01-29 08:43:38 -08:00
en.md chore(dev): Simplify home page and navigation 2023-10-20 18:13:23 +02:00