• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Retina / non retina : Drawing icons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Retina / non retina : Drawing icons


  • Subject: Retina / non retina : Drawing icons
  • From: Erwin Namal <email@hidden>
  • Date: Wed, 21 Aug 2013 18:18:55 +0200

Hi,

My app's menu extra icon should reflect meaningful information to the user. However, there are too many cases to draw icons beforehand. It would be easier to programatically prepare the icon on the fly.
What would be the best way to get the size of the NSImage to draw (in points or in pixels) and have a perfect look on retina and non-retina displays ?

Thanks,
- E
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Retina / non retina : Drawing icons
      • From: Marcel Weiher <email@hidden>
    • Re: Retina / non retina : Drawing icons
      • From: Lee Ann Rucker <email@hidden>
  • Prev by Date: Re: A little tip for those searching the docs now that developer.apple.com has been rebuilt.
  • Next by Date: performKeyEquivalent called twice for some key strokes
  • Previous by thread: NSMetadataQuery resultAtIndex:
  • Next by thread: Re: Retina / non retina : Drawing icons
  • Index(es):
    • Date
    • Thread