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).

I tried using  [NSColor colorWithPatternImage:], but that doesn't allow me to 
set the origin relative to my view (only relative to the window), and doesn't 
appear to play nicely with a scrollview.

Therefore I'm looking for the formula for efficiently drawing a tiled image 
into a view, scaled to the size I want, at the origin I want, with the opacity 
I want. Any tips?

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+.

Thanks

Gideon







_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to