Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support skew in transform and svg parser #755

Merged
merged 6 commits into from
May 12, 2021
Merged

feat: support skew in transform and svg parser #755

merged 6 commits into from
May 12, 2021

Conversation

pissang
Copy link
Contributor

@pissang pissang commented May 12, 2021

  1. Add property skewX, skewY in Transformable
  2. Support decompose matrix with skew.
  3. Parse skewX skewY in SVG transform attributes.

This PR also did some performance optimization on the transform calculation.

TODO Note:
zrender uses a different hand coordinate system compared to CSS transform. It may confuse developers when using rotation, skewX, skewY. But change them will break a lot of codes. I guess we can only accept it in a very long time.

Related issues:
apache/echarts#14703

@100pah 100pah merged commit bf3eb19 into master May 12, 2021
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.

None yet

2 participants