Skip to content

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

Merged
tacaswell merged 1 commit into
matplotlib:masterfrom
cimarronm:macosx_device_scale
Apr 3, 2014
Merged

Fixes a bug in drawing bitmap images in the macosx backend for handling device scaling#2939
tacaswell merged 1 commit into
matplotlib:masterfrom
cimarronm:macosx_device_scale

Conversation

@cimarronm
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

This fixes the bug identified in issue #2937

@tacaswell
Copy link
Copy Markdown
Member

@mdehoon Can you take a look at this?

@mdehoon
Copy link
Copy Markdown
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.

4 participants