• 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 to get x-coordinate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get x-coordinate?


  • Subject: Re: How to get x-coordinate?
  • From: John Stiles <email@hidden>
  • Date: Thu, 15 Nov 2007 11:53:55 -0800

On Nov 15, 2007, at 11:49 AM, Shawn Erickson wrote:

On 11/15/07, John Stiles <email@hidden> wrote:
To be fair, I've been looking for very similar information recently,
and I didn't find it through lots of searching. I didn't think to try
the word "coordinate."

Thank God for this list—I've been trying to write my own version of
convertPoint:toView: and it's not easy. (It seems straightforward,
but flipped views screw everything up.) This is going to save me a
lot of time. Thanks Cocoa-dev!

Review the AppKit release notes for Leopard as well. It contains information on some new API related to this.

Actually, I abandoned this approach because it was giving me incorrect results—even worse than my homebrew algorithm. :(


I'm back to analyzing my homebrew approach and I think I've got it mostly nailed. I had to boil it down to a simple test app first; that really cuts down on the iteration time.

_______________________________________________

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: How to get x-coordinate?
      • From: "Shawn Erickson" <email@hidden>
References: 
 >How to get x-coordinate? (From: shengjun_guan (管聲俊) <email@hidden>)
 >Re: How to get x-coordinate? (From: "I. Savant" <email@hidden>)
 >Re: How to get x-coordinate? (From: John Stiles <email@hidden>)
 >Re: How to get x-coordinate? (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: How to get x-coordinate?
  • Next by Date: Re: How to get x-coordinate?
  • Previous by thread: Re: How to get x-coordinate?
  • Next by thread: Re: How to get x-coordinate?
  • Index(es):
    • Date
    • Thread