add support for drawing ellipse and pencil