Added support for line joins and caps
Added support for line dashes
Added support for miter limit and flatness