On Mon, 03 Mar 2003 22:10:27 +0100
Hans Hagen
At 03:22 PM 2/28/2003 +0100, you wrote:
\definecolor[sa][r=1,t=0.7,a=1] \definecolor[ea][g=1,t=0.5,a=1]
\definecolor[s][r=1] \definecolor[e][g=1]
\startMPgraphic path p ; p := unitsquare xscaled 5cm yscaled 5cm ; fill p shifted (4cm,4cm) withcolor .7white ; fill p shifted (-3cm,-3cm) withcolor .8white ;
linear_shade(p,0,\MPcolor{s},\MPcolor{e}); \stopMPgraphic
\loadcurrentMPgraphic\placeMPgraphic
i'll have a look at it; i'm not even sure if transparent shades are possible, since the shading vectors need color vectors (implementing shading and transparency took me quite some time to figure out from the fuzzy specs]
i had a look in the spec today and it seems that it is impossible since transparency can only be applied to objects or groups but not to a color vector. So, we need to wait until PDF1.X supports this. If somebody has good connections to Adobe please ask for this very feature. Jens P.S. If somebody has access to Adobe Illustrator then i could help to know if it is possible there ;-)