I am trying to create a app like paint where you can draw basic shapes with preview. I implemented a draw function for ellipse and next I want to implement one for a line an