• 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: scroll bars and visible rect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scroll bars and visible rect


  • Subject: Re: scroll bars and visible rect
  • From: Mike Abdullah <email@hidden>
  • Date: Fri, 04 Jan 2013 11:44:31 +0000

On 3 Jan 2013, at 17:54, koko <email@hidden> wrote:

> visibleRect
>
> Returns the visible region of the receiver, in its own coordinate space. (read-only)
>
> @property(readonly) CGRect visibleRect
> Discussion
>
> The visible region is the area not clipped by the containing scroll layer.
>
>
> And I may have answered my question since it says the visible region is not clipped by the containing scroll layer I assume the scroll bars are inside the visible rect;

No it's quite confusing wording. It's saying it's giving the area of the view that isn't clipped.

As everyone else has already pointed out though, it sounds like you're using NSScrollView but reading the CGScrollLayer docs, which makes no sense.

_______________________________________________

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: 
 >scroll bars and visible rect (From: koko <email@hidden>)
 >Re: scroll bars and visible rect (From: Mike Abdullah <email@hidden>)
 >Re: scroll bars and visible rect (From: koko <email@hidden>)

  • Prev by Date: Re: Editing multiple selections with bindings
  • Next by Date: NSSplitView -drawDividerInRect
  • Previous by thread: Re: scroll bars and visible rect
  • Next by thread: CALayer renderInContext changes zPosition of some child layers
  • Index(es):
    • Date
    • Thread