CGContextAddLineToPoint
CGContextAddLineToPoint is a function in the Core Graphics framework that appends a straight line segment to the current path within a graphics context. It does not draw the line by itself; the line is created as part of the path and is rendered when the path is stroked or filled.
In C and Objective-C, the function signature is void CGContextAddLineToPoint(CGContextRef c, CGFloat x, CGFloat y). In
Usage generally follows establishing a starting point with CGContextMoveToPoint, then calling CGContextAddLineToPoint one or more times
See also: CGContextMoveToPoint, CGContextClosePath, CGContextStrokePath, CGContextFillPath.