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 (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 arch...@mail-archive.com

Reply via email to