kangax/fabric.js — pull request #1143 by maciej-filip-sz (2014-02-05 16:41:56+00:00)
Title: Line object coordinates are correct

Patch for issue #1018.

I've reapplied my previous changes to current master.

@kangax was right, the rendering helpers were unnecessary. I've removed them, and the rendering translation uses `getCenterPoint`. I've left a comment in that section, as I had some trouble wrapping my head around what was going on.

I tested against builds done with `modules=ALL exclude=gestures`.