flipipng a CALayer from right to left
flipipng a CALayer from right to left
- Subject: flipipng a CALayer from right to left
- From: Gustavo Adolfo Pizano <email@hidden>
- Date: Tue, 14 Jun 2011 21:10:17 +0200
Hello all.
Im trying to flip some CALayers, ones from left to right and another
from right to left over the y axis.. So this is what Im doing to flip
from left to right and the results is good.
CATransform3D t = actual.transform;
t.m11 = 0.5;
actual.transform = t;
here the right edge of the layer seems to be inside the screen which
is what I want to achieve.
actual is the actual layer I got form the subviews after passing some
filters (because I'm not modifying all the subviews but the ones that
Im interested in)
but then for the rest I want to flip them the by same amount but what
I want is that the left edge of the layer to "look" is inside,
I tried setting -0.5 but this will mirror the layer.
Any ideas?
Thx
gustavo
_______________________________________________
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