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

Fix path 's' command use relative bezier curve #1422

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

ichan-mb
Copy link
Member

@ichan-mb ichan-mb commented Jun 8, 2021

Fixed bugs when drawing SVG path that contains smooth curve (lower letter s command) instead of using absolute position, it should use relative position.

Test Case:

<Path Size="100" StrokeColor="Blue" StrokeWidth="2" Data="M560.249,690.146v-61.737 c0-16.887,13.619-30.505,30.506-30.505c16.887,0,30.506,13.618,30.506,30.505v61.737c0,16.887-13.619,30.506-30.506,30.506 S560.249,707.032,560.249,690.146z M577.68 628.408 v61.737 c0 7.264 5.811 13.074 13.074 13.074 s13.074-5.811 13.074-13.074 v-61.737 c0-7.263-5.811-13.073-13.074-13.073 S577.68 621.146 577.68 628.408z" />

This PR contains:

  • Changelog
  • Documentation
  • Tests

@mortend mortend merged commit 37af5a5 into fuse-open:master Jun 9, 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.

2 participants