开发者

incorrect position when draw image context into UIImage that has been scale to another size;

my uiimage has been add to UIView, then i transform it to scale 1.5

when i try to draw image context it will present incorrect position

how to make Im开发者_如何学GoageContext in transform size ?


Try placing the image at the origin. Scale it however much you want. Then translate to where you want the image to be.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜