first, please don't crosspost between cocoadev and quartz-dev

the reflection is a sublayer of the image so that it will move the same. rotate the layer with the image in it, the reflection also rotates.


the reflection layer uses additional Core Animation features to display only parts of the flipped image (a gradient in another layer that is set as the reflection layer's mask).

so setting the same imageon the reflection causes it to mask with the maskLayer that is set and display only a portion of the image that corresponds with the gradient.

hopefully that helps.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to