prologues := 3;
outputformat := "svg";
defaultfont := "cmr10";
defaultscale := 1.1;
color Blue,Teal,Orange,Green,Grey,Light,Wash;
Blue := (0,84/255,159/255); Teal := (0,177/255,183/255);
Orange := (246/255,168/255,0); Green := (87/255,171/255,39/255);
Grey := (100/255,101/255,103/255); Light := (236/255,236/255,237/255);
Wash := (232/255,241/255,250/255);
% Format displayed numbers to hundredths using integer strings.
vardef numlabel(expr value)=
 save n,whole,frac; numeric n,whole,frac;
 n:=round(100abs value); whole:=floor(n/100); frac:=n mod 100;
 (if value<-.005: "-" & fi decimal whole
  if frac>0: & "." & if frac<10: "0" & fi decimal frac fi)
enddef;
pickup pencircle scaled .9;
outputtemplate := "MPT-16-004.svg";
beginfig(1);
fill unitsquare xscaled 320 yscaled 220 withcolor white;
% BEGIN DRAWING
path badge,mark;
pair c;
badge:=fullcircle scaled 57;
mark:=(-15,0)--(-4,-10)--(17,13);
for k=0 upto 2:
  c:=(61+99k,119);
  fill unitsquare xscaled 87 yscaled 113 shifted (xpart c-43,60)
    withcolor Wash;
  if k=1:
    fill badge shifted (c+(7,-7)) withcolor .73[Blue,white];
  elseif k=2:
    for d=20 step -1 until 1:
      fill badge shifted (c+(d,-d)) withcolor .73[Blue,white];
    endfor;
  fi;
  fill badge shifted c withcolor Blue;
  draw mark shifted c withpen pencircle scaled 4 withcolor white;
endfor;
label("flat" infont "cmr9",(61,38));
label("offset" infont "cmr9",(160,38));
label("long" infont "cmr9",(259,38));
% END DRAWING
label.lft("MPT-16-004" infont "cmr8",(312,210));
setbounds currentpicture to unitsquare xscaled 320 yscaled 220;
endfig;
end.
