void CGContextAddLines (
CGContextRef c,
const CGPoint points[],
size_t count
);
example:
CGContextMoveToPoint (c, points[0].x, points[0].y); |
for (k = 1; k < count; k++) { |
CGContextAddLineToPoint (c, points[k].x, points[k].y); |
} |