Shape;
BoundingRectangle(0,0);

// This draws a very simple truck.

UnitxDivisions(32);
UnityDivisions(14);

pt0.x = left;
pt0.y = top -unity;
MoveTo(left,top -unity);

pt1.x = midx +8*unitx;
pt1.y = top -unity;

pt2.x = midx +8*unitx;
pt2.y = midy -4*unity;

pt3.x = left;
pt3.y = midy -4*unity;

pt4.x = left;
pt4.y = top -unity;

// 5 points in all
Polygon(5);
 


// Make the cab green.
SolidBrush(RGB(0,255,0);

pt0.x = right -8*unitx;
pt0.y = top -3*unity;

pt1.x = right -4*unitx;
pt1.y = top -3*unity;

pt2.x = right -3*unitx;
pt2.y = top -6*unity;

pt3.x = right;
pt3.y = top -6*unity;

pt4.x = right;
pt4.y = midy -4*unity;

pt5.x = right -8*unitx;
pt5.y = midy -4*unity;

pt6.x = right -8*unitx;
pt6.y = top -3*unity;
// 7 points
Polygon(7);

// Form black tires.
SolidBrush(RGB(0,0,0));

Ellipse(left +2*unitx,midy -4*unity,left +6*unitx,midy -4*unity -4*unitx);
Ellipse(left +6*unitx,midy -4*unity,left +10*unitx,midy -4*unity -4*unitx);
Ellipse(midx +3*unitx,midy -4*unity,midx +7*unitx,midy -4*unity -4*unitx);
Ellipse(right -5*unitx,midy -4*unity,right -unitx,midy -4*unity -4*unitx);

 