摘要: static void addRoundedRectToPath(CGContextRef context, CGRect rect, float ovalWidth, float ovalHeight){float fw, fh;if (ovalWidth == 0 || ovalHeight == 0) {CGContextAddRect(context, rect);return;}CGContextSaveGState(context);CGContextTranslateCTM(context, CGRectGetMinX(rect), CGRectGetMinY(rect));CG 阅读全文
posted @ 2012-11-27 10:39 xuvw 阅读(194) 评论(0) 推荐(0) 编辑