get canvas coordinates