added line dash support to canvas renderer