Add support for linecap and linejoin.
Merge pull request #49 from jneem/master

Add support for linecap and linejoin.