Re: CATiledLayer requesting tiles that are way out of view bounds
Re: CATiledLayer requesting tiles that are way out of view bounds
- Subject: Re: CATiledLayer requesting tiles that are way out of view bounds
- From: Kyle Sluder <email@hidden>
- Date: Thu, 11 Jul 2013 12:25:08 -0700
On Thu, Jul 11, 2013, at 11:10 AM, Steve Mills wrote:
> We have an NSView subclass. It's in an NSScrollView. The view has 1
> CALayer added to it, so we have the view's wantsLayer set to YES. This
> gives us tiled drawing in our view. We have a case where the view is over
> 5000 pixels wide and the scroll view is only 600 and some wide. If we
> jump to the extreme right by using [view scrollPoint:pos], we're seeing
> some of the tiles having an x origin way back at 0, while some are
> correctly way over at the right around 5000. What's going on here? If
> we're revealing the rightmost portion of the view, it has no business
> drawing the leftmost portion. Below shows the output of the current
> CGContextGetClipBoundingBox.
If the coordinates it's asking for are valid within your document view,
what's the issue? They might be necessary for correctly drawing or
animating your view.
--Kyle Sluder
_______________________________________________
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