0xfe/vexflow — pull request #46 by raffazizzi (2012-02-05 18:14:31+00:00)
Title: Support for hairpins.

Hi Mohit,

I've put together a class for hairpins (crescendo and descrendo). They can be customized a fair bit, by setting position, vertical and horizontal offset, and height. I've also added tests, where you can see examples.

The shape it's drawn using lineTo(). I think it's decent. For something nicer, someone could replace that with a more elaborate path.

Please let me know if you would like anything to be changed or done differently.

Best,
Raffaele