[转] CGContext
摘要:
0CGContextRef context = UIGraphicsGetCurrentContext(); //设置上下文1 CGContextMoveToPoint //开始画线2 CGContextAddLineToPoint// 画直线4 CGContextAddEllipseInRect //画一椭圆4 CGContextSetLineCap// 设置线条终点形状4 CGContextSetLineDash //画虚线4 CGContextAddRect //画一方框4 CGContextStrokeRect// 指定矩形4 CGContextStrokeRectWithWidth 阅读全文
posted @ 2013-02-25 15:37 myprecious 阅读(138) 评论(0) 推荐(0) 编辑