btandresen/cappuccino — comment on commit 0f8f4d435cd250a2d6442548a4f81e6698331b67
File: AppKit/CoreGraphics/CGContextCanvas.j line 106
By btandresen:

I didn't check. The implementation is borrowed from CGPathAddLines (CGPath.j line 140), which is called by the other definition of CGContextAddLines (CGContext.j line 232). The canvas version I'm adding works just like the CGPath version, except that it calls the Canvas functions instead of CGPath functions.

If you find that this condition is wrong, we should fix the CGPath one too!