move draw lines into canvas service