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 the issue that SVG bitmap generation does not works well when thumbnail pixel size set to zero, fix the logic to calculate the transform #25

Merged
merged 1 commit into from
Aug 13, 2020

Conversation

dreampiggy
Copy link
Collaborator

@dreampiggy dreampiggy commented Aug 12, 2020

This fix #24

The problem related not only the code logic, but also the offset on Geometry. The previous code only works for some cases SVG which have a (0,0) view port. However, if the start point is not (0,0), the generated bitmap is wrong.

…mbnail pixel size set to none zero, fix the logic to calculate the transform
@dreampiggy dreampiggy changed the title Fix the issue that SVG bitmap generation does not works well when thumbnail pixel size set to none zero, fix the logic to calculate the transform Fix the issue that SVG bitmap generation does not works well when thumbnail pixel size set to zero, fix the logic to calculate the transform Aug 12, 2020
@dreampiggy
Copy link
Collaborator Author

@dreampiggy dreampiggy merged commit 05f0b23 into master Aug 13, 2020
@dreampiggy dreampiggy deleted the bugfix_svg_scale branch August 13, 2020 02:33
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.

Unable to render SVG image on watchOS
1 participant