• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
flipipng a CALayer from right to left
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: iOS: CoreGraphics Drawing -failing to draw a rectangle border
  • Next by Date: Interface item validation through first responder
  • Previous by thread: iOS: CoreGraphics Drawing -failing to draw a rectangle border
  • Next by thread: Re: flipipng a CALayer from right to left
  • Index(es):
    • Date
    • Thread