IOS_绘图
文章平均质量分 80
向晨宇
热爱编程 追求完美 个性执着
展开
-
ios绘图总结
http://www.cnblogs.com/yuanxiaoping_21cn_com/archive/2012/03/24/2415706.html0 CGContextRef context = UIGraphicsGetCurrentContext(); 设置上下文1 CGContextMoveToPoint 开始画线2 CGContextAddLineToPoint转载 2012-11-28 11:21:18 · 1436 阅读 · 0 评论 -
IOS中二维坐标变换
http://www.cnblogs.com/delonchen/archive/2011/08/03/iostransform.html1.坐标变换的数学基础 1.1 坐标系 数学中我们使用的是笛卡儿坐标系,如下图所示: X轴正方向向转载 2013-03-28 15:54:36 · 991 阅读 · 0 评论 -
iOS: CGPathAddArc和CGPathAddArcToPoint函数
注意:CGPathAddArc和CGContextAddArc,以及UIBezierPath类型的addArcWithCenter:radius:startAngle:endAngle:clockwise:方法原理都类似。而CGPathAddArcToPoint和CGContextAddArcToPoint函数则原理类似。只不过CGPath相关的函数多了一个CGAffineTransform参数,转载 2014-04-18 10:55:38 · 18540 阅读 · 0 评论