A simple Drawing
The screen is 600 by 300 pixels.
Lines go from (x1, y1) to (x2, y2).
Rectangles & Ovals fill in (x,y) to (x+w-1, y+h-1).
Arcs start at angle 1 (in degrees) and end at angle 1 + angle 2
Polygon x, y positions are entered with spaces. Example: 10 50 100
object initial
point
final
point or
dimension
angles
(arcs only)
Color
(from 0 to 255)
line
open rectangle
filled rectangle
open oval
filled oval
open arc
filled arc
x :
y :
x2 :
y2 :
w :
h :
angle 1:
angle 2:
Red :
Green :
Blue :
open polygon
filled polygon
x y
string
Priority given to Lines or Other Objects