Skip to content

Fix Drawing.scale_to_fit to center correctly #4

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ferrouswheel
Copy link

When I tried to use the padding argument, I found the centering was wonky and I think this is the correct fix.

@fogleman
Copy link
Owner

Want to fix rotate_and_scale_to_fit while we're at it? I assume it has the same issue.

@ferrouswheel
Copy link
Author

Sorry for the delay - I've applied the same fix to rotate_and_scale_to_fit

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