On 8/18/10, Gideon King <[email protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to