• 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
Converting HIPoints to CGPoints/NSPoints in global space?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Converting HIPoints to CGPoints/NSPoints in global space?


  • Subject: Converting HIPoints to CGPoints/NSPoints in global space?
  • From: Dave MacLachlan <email@hidden>
  • Date: Fri, 10 Feb 2006 14:50:06 -0800

Is there a good way to convert NSPoints to HIPoints and back again safely?

I see HIPointConvert, but there doesn't seem to be a "cocoa" coordinate space. I can write a routine iterating through all the displays, and finding the lowest left hand corner, but was wondering if anyone knew of a better way.

Cheers,
Dave _______________________________________________
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
  • Follow-Ups:
    • Re: Converting HIPoints to CGPoints/NSPoints in global space?
      • From: Rosyna <email@hidden>
    • Re: Converting HIPoints to CGPoints/NSPoints in global space?
      • From: Scott Thompson <email@hidden>
  • Prev by Date: Re: Calling TransitionWindowWithOptions on a WindowRef returned from a [NSWindow windowRef]
  • Next by Date: ObjC procedure vs C procedure within Cocoa
  • Previous by thread: Re: Bindings debugging woes
  • Next by thread: Re: Converting HIPoints to CGPoints/NSPoints in global space?
  • Index(es):
    • Date
    • Thread