摘要:
UIImageView *imgView=[[UIImageView alloc]initWithFrame:CGRectMake(100, 100, 75, 75)]; imgView.image=[UIImage imageNamed:@"a"]; imgView.tag=200; [se... 阅读全文
摘要:
- (UIImage *)clipImage: (UIImage *)image inRect: (CGRect) rect{//返回image中rect范围内的图片 CGImageRef imageRef = CGImageCreateWithImageInRect(image.CGImage,... 阅读全文