• 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: Strange toolbar/view/resize cursor interaction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Ken Thomases <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Ken Thomases <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Quincey Morris <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Graham Cox <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Quincey Morris <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Quincey Morris <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Quincey Morris <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Quincey Morris <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Strange toolbar/view/resize cursor interaction
  • Next by Date: Re: Strange toolbar/view/resize cursor interaction
  • Previous by thread: Re: Strange toolbar/view/resize cursor interaction
  • Next by thread: Re: Strange toolbar/view/resize cursor interaction
  • Index(es):
    • Date
    • Thread