开发者

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

开发者 https://www.devze.com 2023-01-17 01:22 出处:网络
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

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

精彩评论

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