摘要:
把图片切成圆角代码http://www.cocoachina.com/bbs/read.php?tid=1757static void addRoundedRectToPath(CGContextRef context, CGRect rect, float ovalWidth, float ovalHeight){float fw, fh;if (ovalWidth == 0 || ovalHeight == 0) {CGContextAddRect(context, rect);return;}CGContextSaveGState(context);CGContextTranslateC 阅读全文
posted @ 2011-12-26 10:48
痴人指路
阅读(323)
评论(0)
推荐(0)