• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CALayer's backgrounds filters having effect only on immediate parent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: CALayer's backgrounds filters having effect only on immediate parent?
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: NSSplitView not Resizing Subviews if Delegate is used
  • Next by Date: Re: NSSplitView not Resizing Subviews if Delegate is used
  • Previous by thread: Re: iOS/RestKit/XCode 4.6
  • Next by thread: Re: CALayer's backgrounds filters having effect only on immediate parent?
  • Index(es):
    • Date
    • Thread