[NTG-context][metapost] shading in meta[post/play] & PDF

Hans Hagen pragma at wxs.nl
Wed Jan 19 12:48:19 CET 2005


Mojca Miklavec wrote:

> How can I make shading inside metapost(play) to produce exactly what's 
> in the attached picture (smooth shades). Or more generally: how can I 
> "hardcode" some PS/PDF code in .mp, not (yet) supported by metapost(play)?

certain kind of native level 2 shaded can be done with the metafun macros 
(circular and linear vector based)

a couple of years ago mathew baker and i played with more advanced features 
using functions and such but i need to locate that code;

if you're willing to figure out what (in pdf) functionality is needed i can 
extend the current metapost shading handler with a few more alternatives [the 
function based ones, since that's what you're looking for])

[more a context mailing list issue than a metapost list issue]

Hans


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



More information about the ntg-context mailing list