摘要: 缩放图片比例- (UIImage *)TelescopicImageToSize:(CGSize) size{ UIGraphicsBeginImageContext(size); [self drawInRect:CGRectMake(0, 0, size.width, size.height)]; UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); return newImage;} 阅读全文
posted @ 2013-01-18 22:37 白条围巾 阅读(3539) 评论(0) 推荐(0) 编辑