Fork me on GitHub

2012年4月24日

摘要: 转自 :http://lockriver.blog.163.com/blog/static/48723224201141045739670/Paths中的几个重要元素Pointsvoid CGContextMoveToPoint (CGContextRef c,CGFloat x,CGFloat y);指定一个点成为current pointQuartz会跟踪current point一般执行完一个相关函数后,current point都会相应的改变.Lines相关的几个函数void CGContextAddLineToPoint (CGContextRef c,CGFloat x,CGFlo 阅读全文
posted @ 2012-04-24 12:04 pengyingh 阅读(4895) 评论(0) 推荐(1)
摘要: Internally, -drawInRect: will rotate the image into the correct orientation according to the imageOrientation property, then flip the image upside down to convert UIKit coordinates into CoreGraphics coordinates. Then it will call CGContextDrawImage. In this sense, -drawInRect: is surely slower.But u 阅读全文
posted @ 2012-04-24 09:34 pengyingh 阅读(478) 评论(0) 推荐(0)

导航