Draw lines using canvas path. Remove unused functions from code.