• 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
Re: How can i determine the mac pixel ratio?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can i determine the mac pixel ratio?


  • Subject: Re: How can i determine the mac pixel ratio?
  • From: Annard Brouwer <email@hidden>
  • Date: Mon, 21 Nov 2005 10:36:31 +0100

Yes, please bear in mind that you can have different resolutions for different monitors on one machine! A lot of developers tend to forget the fact that people have multiple monitor setups...

Annard

On 21 Nov 2005, at 09:35, j o a r wrote:
On 21 nov 2005, at 09.27, Rolando Sacramento wrote:

Im totally new in mac development, and i got this prob, i hope someone could help me. My application computes for the location to where he will be starting (by NSRect). i forgot to consider that there are different pixel rating on some machine, mine is 1024 x 780 ( i think). How can I get the pixel setting of a machine? is there any class for this?

You can get the dimensions of the monitor / monitors using the NSScreen class.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How can i determine the mac pixel ratio? (From: Rolando Sacramento <email@hidden>)
 >Re: How can i determine the mac pixel ratio? (From: j o a r <email@hidden>)

  • Prev by Date: CoreData: NSManagedContext not updating NSArrayController in UI
  • Next by Date: Re: Multiple help menus?
  • Previous by thread: Re: How can i determine the mac pixel ratio?
  • Next by thread: Re: How can i determine the mac pixel ratio?
  • Index(es):
    • Date
    • Thread