On Tue, 25 Feb 2020 12:34:00 +0100
Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
> Hi,
> In the Metafun documentation on page 410, there is a shaded bullet "fill
> fullcircle shaded cshade".
> I tried to reproduce the same effect, but it is not exactly the same result.
It's different because your code isn't the same as the example in the manual.
\starttext
\startMPcode
fill fullcircle scaled 4cm shaded withshademethod "circular" ;
\stopMPcode
\stoptext
> \starttext
> \startMPcode
> fill fullcircle scaled 4cm shaded withshademethod "circular"
> withshadevector (1,0)
> withshadecolors (red, white) ;
> \stopMPcode
> \stoptext
Not sure what you're trying to achieve but this is closer the example above.
\starttext
\startMPcode
fill fullcircle scaled 4cm shaded
withshademethod "circular"
withshadefactor 0.75
withshadecolors (white,red)
;
\stopMPcode
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________