CGAffineTransformMakeScale和Rotation立刻?

时间:2012-08-03 05:56:22

标签: iphone ios ios5 core-graphics

我想立刻应用比例和旋转。问题是当我做这个旋转是正确但缩小比例。我测试刻度并单独旋转,它完美地工作。以下是我的代码

CGAffineTransform transformScale = CGAffineTransformMakeScale( tmp.size, tmp.size);
CGAffineTransform transformRotate = CGAffineTransformMakeRotation((CGFloat)tmp.rotation);
[iview setTransform:CGAffineTransformConcat(transformScale, transformRotate)];

0 个答案:

没有答案