kangax/fabric.js — pull request #321 by coulix (2012-11-24 23:51:03+00:00)
Title: Smooth freehand drawer

While drawing on contextTop canvas we now show a smooth curved line using
'quadraticCurve' canvas method.

On mouse up we convert the collected mousepoints `_freeDrawingPoints` to a fabric object Path
using quadtratic bezier curveto SVG syntax.

**Note:**

If we do a lot of 'live drawing while mouse down' and 'add the object' on mouse up
we may try to refactor abit and create a new Live/draw Render canvas class ?

So far only `pen` has this behavior but we could want to draw rectangles or
straight lines the same way.