CALayer Mask
CALayer Mask
- Subject: CALayer Mask
- From: Gordon Apple <email@hidden>
- Date: Sun, 07 Dec 2008 12:42:13 -0600
- Thread-topic: CALayer Mask
Either the mask setting of CALayer is the most ill-behaved item in Cocoa
or I totally don't understand it. I suspect the latter. Although I have
successfully used a mask layer in a CALayer (mainly QTMovieLayer and
QTCapture Layer) when first creating the CALayer, changing the transform
(rotations, flips, etc.) to the CAlayer has unpredictable results for the
mask until the original transform is re-established. I've tried applying
the same transform to the mask and a few other things to no avail. I've
also tried re-computing and resetting the mask each time the transform is
changed.
What space does the mask reside in? The CALayer's bounds? It's
superlayer?
How exactly does the mask relate the the containing CALayer? It is a
sublayer of the CALayer?
As far as I can tell, there is no documentation on any of this and the
sample code does not help. Any help here would be appreciated.
_______________________________________________
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