On Apr 21, 2014, at 8:28 PM, Kyle Sluder wrote:

> On Mon, Apr 21, 2014, at 05:24 PM, Quincey Morris wrote:
>> On Apr 21, 2014, at 17:15 , Eric Shepherd <the.she...@gmail.com> wrote:
>> 
>>> I've checked -- [self bounds].origin.y is 0.
>> 
>> That can’t be! What is ‘where.y’ at the very top of your view? Can you
>> log self.bounds so we can see all of it?
> 
> Why not? If it returns YES from -isFlipped, then y=0 is at the top of
> the bounds coordinate system.

Just in general, in the majority of cases the bounds origin is (0, 0) and its 
size is equal to the frame size (although for OpenGL views, it's the frame size 
in pixels rather than points).  Outside of scrolling, it's relatively rare to 
transform a view's bounds.  I think Quincey has gotten himself turned around on 
this.

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to