case 'm':
cmd = new MoveTo(true, nextFloat(tokens), nextFloat(tokens));
curCmd = 'l';
break;
case 'L':
cmd = new LineTo(false, nextFloat(tokens), nextFloat(tokens));
break;
case 'l':
cmd = new LineTo(true, nextFloat(tokens), nextFloat(tokens));
break;
case 'H':
cmd = new Horizontal(false, nextFloat(tokens));
break;
case 'h':