Re: question on layer setup in Covertflow sample code
Re: question on layer setup in Covertflow sample code
- Subject: Re: question on layer setup in Covertflow sample code
- From: Scott Anguish <email@hidden>
- Date: Tue, 24 Jun 2008 12:22:02 -0400
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 (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