iphone - XCode translate matrix ala ActionScript? -


I'm wondering if there is a way to translate the underlying metrics of a layer like you in action script 3.

In AS3 I can obtain the conversion of a layer and move it, say, instead of the upper left corner, the center of the layer forms anchor point.

The reason to ask is because I'm trying to rotate a layer with a skew axis, I thought it might be easy if I rotated the matrix up to 45 degrees, X could roam around and could be done.

But I do not understand how to do it.

Any help, like always appreciate. Edit:

I am afraid that I do not know what is meant by "rotating an object with a diagonal axis". What you need to do is to include two or more changes.

Notice that the conclusion of the two changes makes the form of the image rotating around its bottom left corner.


Comments