• 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 Mask Logic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CALayer Mask Logic


  • Subject: CALayer Mask Logic
  • From: Matt Long <email@hidden>
  • Date: Wed, 17 Sep 2008 15:18:25 -0600

I've noticed that when using the mask property in a CALayer, the mask itself defines what part of the containing layer shows through rather than what part of the layer is actually covered or masked. I'm sure it's just me, but this logic seems inverted from what it ought to be. Is there a simple way to invert the logic so that when you define a mask, it allows everything in the backing layer to show through *except* what's defined in the mask?

Thanks.

-Matt
_______________________________________________

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


  • Prev by Date: Re: iPod Touch apps
  • Next by Date: Re: Core Data in a framework ?
  • Previous by thread: Re: Utility/Floating window with titlebar on left side
  • Next by thread: CATextLayer and attributed strings
  • Index(es):
    • Date
    • Thread