iPhone image stretching (skew)
Not possible with CGAffineTransform. An affine transform can always be decomposed into translations, rotations, shearing and scaling. They all map parallelograms into parallelograms, which your transform does not. For your transform, it can be done in two steps. One to convert the square into a trapezoid. p1—–p2 p1—–p2 | | –> | \ p3—–p4 p3——–p4′ … Read more