摘要:
1. 对上面的图片做裁剪: CGContextRef ctx = UIGraphicsGetCurrentContext(); // 画圆 CGContextAddEllipseInRect(ctx, CGRectMake(50, 50, 60, 60)); // 圆外的都剪掉 CGCont... 阅读全文
posted @ 2015-03-23 16:15
oumygade
阅读(243)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/wendingding/p/3782551.html 阅读全文
posted @ 2015-03-23 15:23
oumygade
阅读(96)
评论(0)
推荐(0)
摘要:
// 获取图形上下文 CGContextRef ctx = UIGraphicsGetCurrentContext(); // 存储上下文栈 CGContextSaveGState(ctx); // 设置图形上下文 CGContextSetLineWidth( ctx, 10); [[... 阅读全文
posted @ 2015-03-23 14:34
oumygade
阅读(121)
评论(0)
推荐(0)