kangax/fabric.js — pull request #1882 by asturur (2014-12-04 14:31:46+00:00)
Title: Make cleaner setCoords and geometry code

First draft.
Just to keep track of it.
(sorry i use this repo as a dashboard)

A third copy of this function is used in setCoords() but i have to check it better.