Get just the scaling transformation out of CGAffineTransform

前端 未结 7 1093
北荒
北荒 2021-02-01 19:26

I found a similar question about getting just the rotation, but as I understand scaling and rotating work different in the transform matrix.

Matrixes are not my strength

相关标签:
7条回答
  • 2021-02-01 19:59

    That is an old question, but I still add more information in case someone needs.

    For me, the good answer and sample code for getting scale, rotation of transformation and for reproducing it are from article:

    http://www.informit.com/articles/article.aspx?p=1951182

    0 讨论(0)
提交回复
热议问题