On Aug 26, 2013, at 9:08 AM, Lee Ann Rucker <lruc...@vmware.com> wrote:

> Create an NSImage with representations in both sizes:
> 
> http://lists.apple.com/archives/cocoa-dev/2013/Aug/msg00374.html



On Aug 26, 2013, at 12:23 PM, Marcel Weiher <marcel.wei...@gmail.com> wrote:
> 
> The NSImage documentation suggests that imageWithSize:flipped:drawingHandler: 
>  is your friend.
> 
> "Using this method ensures you’ll get correct results under standard and high 
> resolution.”

Thank you both for your replies. Reading the code and the docs, the size in 
points of an UI element is the same for retina and non retina displays, but it 
maps to more pixels for retina display.
I still have one question: How do I get the size in points of an menu extra 
icon ?

Thank you for your time.
– E
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to