Re: CALayer with checkered background like Photoshop's
Re: CALayer with checkered background like Photoshop's
- Subject: Re: CALayer with checkered background like Photoshop's
- From: Randall Meadows <email@hidden>
- Date: Tue, 15 Jul 2008 10:26:02 -0600
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 (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