transform = CGAffineTransformMakeTranslation(translation.x, translation.y);
transform = CGAffineTransformScale(transform, 1.0 / scale, 1.0 / scale);
transform = CGAffineTransformRotate(transform, radAngle);
transform = CGAffineTransformTranslate(transform, -translation.x, -translation.y);
transform = CGAffineTransformMakeTranslation(translation.x, translation.y);
transform = CGAffineTransformScale(transform, 1.0 / scale, 1.0 / scale);
transform = CGAffineTransformRotate(transform, radAngle);
transform = CGAffineTransformTranslate(transform, -translation.x, -translation.y);