[metapost] Filling complex paths

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


On 10/17/2014 5:40 PM, Daniel H. Luecking wrote:
> Tobias,
>
> I think you have to wrap the drawing in withprescript/withpostscript code that
> redefines the PS operators fill and newpath.

It's not too hard to do in the pdf backend code (only a few lines 
needed) so I've added it to the context metafun macros (eofill and eoclip).

Hans


-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eofill-001.pdf
Type: application/pdf
Size: 4827 bytes
Desc: not available
URL: <http://tug.org/pipermail/metapost/attachments/20141018/e9bd1534/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eofill-001.tex
Type: text/x-tex
Size: 885 bytes
Desc: not available
URL: <http://tug.org/pipermail/metapost/attachments/20141018/e9bd1534/attachment-0001.bin>


More information about the metapost mailing list