• 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: Best way to draw large tiled images?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to draw large tiled images?


  • Subject: Re: Best way to draw large tiled images?
  • From: Eric Wing <email@hidden>
  • Date: Fri, 20 Aug 2010 17:20:00 -0700

On 8/18/10, Gideon King <email@hidden> wrote:
> I have a relatively large area on my NSView that I want to tile images into.
> I tried using CIAffineTile, but it gives me the following error: "CoreImage:
> ROI is not tilable" for even moderately large images (for small images, it
> works exactly as I want it to).
>
> Also, I am starting to learn about core animation, and may make this either
> a layer backed or layer hosting view. Would either of these configurations
> alter my choices for tiling?
>
> Deployment is 10.5+.

I think CATiledLayer from Core Animation would be a good place to
start. I am not aware of a NSView counterpart, so layer hosting view
will be the way to go.

Bill Dudney's stuff is probably a great place to start learning CATiledLayer.
(Quick Google search:)
http://bill.dudney.net/roller/objc/entry/catiledlayer_example

-Eric


--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________

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: 
 >Best way to draw large tiled images? (From: Gideon King <email@hidden>)

  • Prev by Date: Re: Core Animation. issue with scaling
  • Next by Date: Re: CoreAnimation - Resizing sublayers along with superlayer animation
  • Previous by thread: Best way to draw large tiled images?
  • Next by thread: [iPhone] add touches to MKAnnotationView
  • Index(es):
    • Date
    • Thread