Re: Strange toolbar/view/resize cursor interaction
Re: Strange toolbar/view/resize cursor interaction
- Subject: Re: Strange toolbar/view/resize cursor interaction
- From: Ken Thomases <email@hidden>
- Date: Mon, 21 Apr 2014 20:44:16 -0500
- Sun-java-system-smtp-warning: Lines longer than SMTP allows found and truncated.
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 <email@hidden> 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 (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