iOS中UIImage和CGImage的单位是不一样的。 Leave a reply UIImage的size:point CGImage的size:px 所以如果前者的size用在后者,需要乘以scale。 可以看下这个链接: Since the retina display, suddenly this piece of drawing code seems to not work anymore. The drawn image is slightly offset than it was before and appears somewhat[......] 继续阅读