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

Retina Display Support #3

Closed
Vortec4800 opened this issue Sep 12, 2010 · 2 comments · May be fixed by #35
Closed

Retina Display Support #3

Vortec4800 opened this issue Sep 12, 2010 · 2 comments · May be fixed by #35

Comments

@Vortec4800
Copy link

It looks like the contexts used in the cache only support a scale of 1.0 - I've been trying to set it to 2.0 when on the iPhone 4 but to no avail. I'm doing pretty standard drawing in the CGContextRef, but it doesn't seem to scale on its own. Is there something else I need to do, perhaps to some of the layers in Leaves?

@Vortec4800
Copy link
Author

Just thought I would mention that I poked around some more and fixed the issue, so Leaves now supports the Retina display using normal drawing functions. Nothing special needs to be done to get the higher resolution display. Though because the scale property doesn't exist in 3.2, it isn't compatible with the iPad until 4.2 is available.

For anyone that's interested, you can find the Retina display support in a Fork I made:
http://github.com/Vortec4800/leaves

@brow
Copy link
Owner

brow commented Sep 20, 2013

Belated thanks for your work. I added a link to your fork in the README for posterity.

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 a pull request may close this issue.

2 participants