Skip to content

[feature] Enhancement of split / combine morphing.#775

Merged
pissang merged 42 commits into
masterfrom
enhance-morph
Jun 25, 2021
Merged

[feature] Enhancement of split / combine morphing.#775
pissang merged 42 commits into
masterfrom
enhance-morph

Conversation

@pissang
Copy link
Copy Markdown
Contributor

@pissang pissang commented Jun 21, 2021

Major changes

This pull request did some optimizations on split / combine morphing.

Rename some of the APIs to avoid conflicts.

combine => combineMorph
separate => separateMorph

The parameters and return type are similar.

Can divide arbitrary path now. Not only sector and rectangles.

For simple paths like sector and rectangle. It will divide shape evenly on each dimension. For other complex unknown shape paths. It will convert the path to a polygon. Then divide the polygon with a grid.

Additionally, combineMorph and separateMorph also provide an option that can override the default dividing algorithm.

Some bug fixes.

Some other changes:

  • Eventful parameter types are enhanced.
  • Refactored text transform

@pissang pissang changed the title [feature] [morph] Enhancement of morphing. [feature] Enhancement of morphing. Jun 21, 2021
@pissang pissang changed the title [feature] Enhancement of morphing. [feature] Enhancement of split / combine morphing. Jun 21, 2021
@pissang pissang merged commit df2aea1 into master Jun 25, 2021
@pissang pissang deleted the enhance-morph branch June 25, 2021 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants