[***SPAM***] MetaFun linear_shade with transparency?
Hi guys, it is possible to use linear_shade with transparency in MetaFun? Thanks for info and piece of example code :) -- Martin Bruchanov Skype : bruxytronics WWW : http://bruxy.regnet.cz/ GPG-Key : http://bruxy.regnet.cz/bruxy-gpg.key (0x8107ED53) AX.25 : OK2MNM @ OK0PBX.#MOR.CZE.EU IRCNet : #linux.cz, #cvut, #z80 Linked-In : http://www.linkedin.com/in/bruxy
On 17-12-2011 23:02, Martin Bruchanov wrote:
Hi guys,
it is possible to use linear_shade with transparency in MetaFun?
Thanks for info and piece of example code :)
metapost/plugins-004.tex in the test suite 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 -----------------------------------------------------------------
On Sat, Dec 17, 2011 at 11:02:30PM +0100, Martin Bruchanov wrote:
Hi guys,
it is possible to use linear_shade with transparency in MetaFun?
Thanks for info and piece of example code :)
Hans direct me to http://minimals.contextgarden.net/current/context/test/doc/context/tests/mki... fill p withshading("linear", llcorner p, urcorner p) withcolor \MPcolor{red} shadedinto \MPcolor{blue} withtransparency(1,.5) ; This works, but I want "screen" interaction between background and transparent object, but it looks like the first parameter has no effect (I put there "screentransparent" or some another numbers). Thanks! -- Martin Bruchanov Skype : bruxytronics WWW : http://bruxy.regnet.cz/ GPG-Key : http://bruxy.regnet.cz/bruxy-gpg.key (0x8107ED53) AX.25 : OK2MNM @ OK0PBX.#MOR.CZE.EU IRCNet : #linux.cz, #cvut, #z80 Linked-In : http://www.linkedin.com/in/bruxy
On 19-12-2011 14:07, Martin Bruchanov wrote:
On Sat, Dec 17, 2011 at 11:02:30PM +0100, Martin Bruchanov wrote:
Hi guys,
it is possible to use linear_shade with transparency in MetaFun?
Thanks for info and piece of example code :)
Hans direct me to
http://minimals.contextgarden.net/current/context/test/doc/context/tests/mki...
fill p withshading("linear", llcorner p, urcorner p) withcolor \MPcolor{red} shadedinto \MPcolor{blue} withtransparency(1,.5) ;
This works, but I want "screen" interaction between background and transparent object, but it looks like the first parameter has no effect (I put there "screentransparent" or some another numbers).
withtransparency(1,.5) ; withtransparency(2,.5) ; withtransparency(3,.5) ;
all have different effects ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Martin Bruchanov