• 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: CATiledLayer requesting tiles that are way out of view bounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: CATiledLayer requesting tiles that are way out of view bounds
      • From: Steve Mills <email@hidden>
References: 
 >CATiledLayer requesting tiles that are way out of view bounds (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: NSTextField: edits are committed even when -control:isValidObject: returns NO
  • Next by Date: Re: NSTextField: edits are committed even when -control:isValidObject: returns NO
  • Previous by thread: CATiledLayer requesting tiles that are way out of view bounds
  • Next by thread: Re: CATiledLayer requesting tiles that are way out of view bounds
  • Index(es):
    • Date
    • Thread