[NTG-context] new mp feature: eofill

Hans Hagen pragma at wxs.nl
Sat Oct 18 11:19:34 CEST 2014


\starttext

\startMPpage

     fill
                 fullcircle scaled 10cm --
                 fullcircle scaled  8cm --
                 fullcircle scaled  4cm -- cycle
         withcolor red/4
         withtransparency (1,.5) ;

     currentpicture := currentpicture shifted (-5cm,0) ;

     fill
                 fullcircle scaled 10cm --
         reverse fullcircle scaled  8cm --
         reverse fullcircle scaled  4cm -- cycle
         withcolor green/4
         withtransparency (1,.5) ;

     currentpicture := currentpicture shifted (-5cm,0) ;

     eofill
                 fullcircle scaled 10cm --
                 fullcircle scaled  8cm --
                 fullcircle scaled  4cm -- cycle
         withcolor blue/4
         withtransparency (1,.5) ;

     currentpicture := currentpicture shifted (-5cm,0) ;

\stopMPpage

\stoptext


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list