CALayer's backgrounds filters having effect only on immediate parent?
CALayer's backgrounds filters having effect only on immediate parent?
- Subject: CALayer's backgrounds filters having effect only on immediate parent?
- From: Oleg Krupnov <email@hidden>
- Date: Tue, 19 Feb 2013 20:42:19 +0200
In my understanding, if I apply, say, a blur filter to layer's
background (CALayer->backgroundFilters), all layers that are behind
that layer - that is, immediate parent, grand parent, etc. and all
children and siblings of those parent and grandparents that are lower
in the tree of layers - should appear blurred.
An experiment however shows that it's not the case. The background
blur filter only blurs the direct parent of the target layer, but not
its grandparent and other layers.
The same applies for compositingFilter.
Am I doing something wrong?
Or, if this is the way it should work as documented, how do achieve
the effect I want?
Thanks.
_______________________________________________
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