[metapost] problem with drawoptions ?

Christophe Poulain chrpoulain at gmail.com
Wed Jul 5 22:05:09 CEST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20170705/e98a6dbb/attachment.html>


More information about the metapost mailing list