problem with drawoptions ?

Christophe Poulain <[email protected]> Wed, 5 Jul 2017 22:05:09 +0200
Newsgroups gmane.comp.tex.metapost
Message-ID <CAPDkhNPBipwLtArYeddx8c1r4ZfJhgAWxhnVmFrge1GvdgfMLg@mail.gmail.com>
Sorry for this question, but i must be tired...

In this code (on metapost 1.999 - Debian
-----------------------
prologues:=2;

beginfig(1);
  path seg;
  seg=(0,0)--(50,50);
  draw seg withcolor red;
  drawoptions(shifted (25,0));
  draw seg withcolor blue;
  drawoptions(shifted (50,0));
  draw seg withpen pencircle scaled 2bp;%*
  draw seg withpen pencircle scaled 2bp withcolor green;%*
  draw seg withcolor green withpen pencircle scaled 2bp;%*
  drawoptions();
  draw (seg shifted (75,0)) withpen pencircle scaled 2bp withcolor
red+green;
endfig;

end
----------------------

why the drawoptions parameters not applied on the line %* ?

Best regards,
Christophe

--
http://tug.org/metapost/