New functions to draw polygons.