Re: Converting HIPoints to CGPoints/NSPoints in global space?
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