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

image delegates ratio on drawImage #105

Merged
merged 3 commits into from
Feb 25, 2023

Conversation

rapto
Copy link
Contributor

@rapto rapto commented Dec 17, 2022

This patch improves the result of rml-examples-032-images. Redundant preserveAspectRatio handling is delegated onto drawImage, and the anchor parameter is passed through, too, so it is effective as well.

@rapto
Copy link
Contributor Author

rapto commented Feb 21, 2023

I have reviewed coverage change in detail and it actually seems to have raised. Please let me know if I can improve this.

@regebro
Copy link
Contributor

regebro commented Feb 24, 2023

The coverage went down because the amount of lines went down, and they are all covered, so that's all fine.

@regebro regebro merged commit c7d262f into zopefoundation:master Feb 25, 2023
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