On Jul 15, 2008, at 10:19 AM, Richard Henry wrote:

Is it possible to use a CICheckerboardGenerator filter to fill the entire background of a CALayer so that I get a similar effect to that which Photoshop has when the content is transparent? I've tried a lot of things but the filters only seem to want to work on the content.

Any ideas? Is there another way to do this?

I *just* did this, but did not use it in a CALayer. I simply created the CIImage from the generator, and then used the -drawImage... method on the CIContext to draw it in my view's -drawRect: method.
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to