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

check on input image to be rotated to best fit the current view orientation #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

moovida
Copy link

@moovida moovida commented Oct 30, 2013

Checks for the ratio of the loaded image (being it by load or by intent) against the current screen ratio. If necessary, it rotates the bitmap in order to best fit the drawing canvas.

@dsandler
Copy link
Owner

dsandler commented Jan 6, 2014

Hey, I took a look at this patch, and it would be more efficient to add a paintBitmap(Bitmap, Matrix) method so that we can just rotate it when drawing it for the first time. This way we don't have to duplicate the bitmap when loading it, which can use a ton of memory.

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