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

Re: Converting HIPoints to CGPoints/NSPoints in global space?


  • Subject: Re: Converting HIPoints to CGPoints/NSPoints in global space?
  • From: Dave MacLachlan <email@hidden>
  • Date: Tue, 14 Feb 2006 08:53:58 -0800


On Feb 14, 2006, at 8:14 AM, Scott Thompson wrote:


On Feb 13, 2006, at 12:00 PM, Raleigh Ledet wrote:

HiPoints are not always 0,0 upper left. HIViews mimic NSViews See:
<http://developer.apple.com/documentation/Carbon/Conceptual/ HIViewDoc/HIView_concept/chapter_1_section_1.html>

:-) Someone at Wacom pointing Dave at remedial carbon documentation is very, very amusing to me. :-)

Heh...Raleigh is the tablet god. If anybody knows his coordinate systems it's him :)


All I wanted to do was position a carbon based window relative to a cocoa based window on the screen. So working in global coordinates, and not having to worry about any "weird" coordinate system modifications (I hope).

I've tested my little routine on three monitors, and I'm satisfied for now (until QE comes to show me all the stupid edge cases I missed :)

Thanks guys!

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


References: 
 >Re: Converting HIPoints to CGPoints/NSPoints in global space? (From: Raleigh Ledet <email@hidden>)
 >Re: Converting HIPoints to CGPoints/NSPoints in global space? (From: Scott Thompson <email@hidden>)

  • Prev by Date: Re: Converting HIPoints to CGPoints/NSPoints in global space?
  • Next by Date: Core Data and multiple stores
  • Previous by thread: Re: Converting HIPoints to CGPoints/NSPoints in global space?
  • Next by thread: Re: Converting HIPoints to CGPoints/NSPoints in global space?
  • Index(es):
    • Date
    • Thread