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

Fixes a bug in drawing bitmap images in the macosx backend for handling device scaling #2939

Merged
merged 1 commit into from Apr 3, 2014

Conversation

cimarronm
Copy link
Contributor

Current implementation does not take into account any transforms being applied to user space and will result in wrong sizes for the CGRect being passed to CGContextDrawImage. This fixes that bug while maintaining the device scaling support used for hi-resolution (retina) displays.

@cimarronm
Copy link
Contributor Author

This fixes the bug identified in issue #2937

@tacaswell
Copy link
Member

@mdehoon Can you take a look at this?

@mdehoon
Copy link
Contributor

mdehoon commented Apr 3, 2014

Looks good to me.

tacaswell added a commit that referenced this pull request Apr 3, 2014
Fixes a bug in drawing bitmap images in the macosx backend for handling device scaling
@tacaswell tacaswell merged commit 32cf4ce into matplotlib:master Apr 3, 2014
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

4 participants