Summary
Drawing Operations:
- Draw a single point: drawpoint(point p)
- Draw a line: drawline(point a, point b)
- Draw the outline of a rectangle: drawrect(rect r)
- Draw a filled rectangle: fillrect(rect r)
- Draw the outline of an ellipse: drawellipse(rect r)
- Draw a filled ellipse: fillellipse(rect r)
- Draw the outline of an arc: drawarc(rect r, int angle1, int angle2)
- Draw a filled arc: fillarc(rect r, int angle1, int angle2)
- Draw the outline of a polygon: drawpolygon(point p[], int n)
- Draw a filled polygon: fillpolygon(point p[], int n)