Re: pls explain rotated iPhone coordinates to me

2009-12-16 Thread Matt Neuburg
On or about 12/15/09 6:35 PM, thus spake "Luke the Hiesterman" : > It looks like this is a quirk of the transform not updating in time > when launching in landscape mode. Feel free to file a bug. Thanks so much! I think it's really a docs bug. Again I refer to this page:

Re: pls explain rotated iPhone coordinates to me

2009-12-15 Thread Matt Neuburg
On or about 12/15/09 11:29 AM, thus spake "Luke the Hiesterman" : > You should probably post a sample project which demonstrates this. http://www.apeth.com/example.zip Thanks for any enlightenment! m. > > On Dec 15, 2009, at 9:09 AM, Matt Neuburg wrote: > >> On or about 12/15/09 7:00 AM, thus

Re: pls explain rotated iPhone coordinates to me

2009-12-15 Thread Luke the Hiesterman
You should probably post a sample project which demonstrates this. Luke On Dec 15, 2009, at 9:09 AM, Matt Neuburg wrote: > On or about 12/15/09 7:00 AM, thus spake "Luke the Hiesterman" > : > >> should be using a rect based on the bounds > > Okay, but things are still reversed from the way I n

Re: pls explain rotated iPhone coordinates to me

2009-12-15 Thread Matt Neuburg
On or about 12/15/09 7:00 AM, thus spake "Luke the Hiesterman" : > should be using a rect based on the bounds Okay, but things are still reversed from the way I naively think they should be. Just consider this code alone (I've moved everything into the view's controller): UIScrollView* sv =

Re: pls explain rotated iPhone coordinates to me

2009-12-15 Thread Matt Neuburg
On or about 12/15/09 7:00 AM, thus spake "Luke the Hiesterman" : > should be using a rect based on the bounds Will do, thanks! I think this will make a big difference. :) m. -- matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/ pantes anthropoi tou eidenai oregontai phusei Among

Re: pls explain rotated iPhone coordinates to me

2009-12-15 Thread Luke the Hiesterman
First of all, it's important for you to mention where this code gets called. Without that, we can't know the whole story, but I'll grant some notes. On Dec 14, 2009, at 6:46 PM, Matt Neuburg wrote: I am not grasping how coordinates work in a rotated iPhone app, and I'm hoping someone will

Re: pls explain rotated iPhone coordinates to me

2009-12-15 Thread Alexander Spohr
This seems wrong. When do you call this code? Usually it is just enough to set the springs of your scroll view in IB. Then, after rotation, refit your content. atze Am 15.12.2009 um 03:46 schrieb Matt Neuburg: > I am not grasping how coordinates work in a rotated iPhone app, and I'm >