add directive drawing for canvas