Added Canvas curved edges renderer.

Curved edges work only in Canvas and not in WebGL yet.
Also fixes #207.