[Development] Retina display support
P Bai
apbai at yahoo.com
Fri Sep 21 04:09:41 CEST 2012
Hi all,
I have a few questions about how to add retina display support to my application. I understand by reading an earlier discuss that you can add a few lines in the info.plist to enable HiDPI render. That would only work for text and standard widgets, right? How about icons and pixmaps? How do I detect if the application is running in HiDPI mode? For example if I write an image viewer program, how do I know when to draw a high resolution image? I guess I can just always force draw the high-res image to the rect of a regular sized image, but that would be a huge waste of system resource and performance drag when running on non-retina system. Are there any better solutions?
Thank you!
apbai
More information about the Development
mailing list