Added support for drawing Lines, Triangles and Squares