ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [***SPAM***] MetaFun linear_shade with transparency?
@ 2011-12-17 22:02 Martin Bruchanov
  2011-12-18 13:30 ` Hans Hagen
  2011-12-19 13:07 ` Martin Bruchanov
  0 siblings, 2 replies; 4+ messages in thread
From: Martin Bruchanov @ 2011-12-17 22:02 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 410 bytes --]

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


[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [***SPAM***] MetaFun linear_shade with transparency?
  2011-12-17 22:02 [***SPAM***] MetaFun linear_shade with transparency? Martin Bruchanov
@ 2011-12-18 13:30 ` Hans Hagen
  2011-12-19 13:07 ` Martin Bruchanov
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2011-12-18 13:30 UTC (permalink / raw)
  To: bruxy, mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [***SPAM***] MetaFun linear_shade with transparency?
  2011-12-17 22:02 [***SPAM***] MetaFun linear_shade with transparency? Martin Bruchanov
  2011-12-18 13:30 ` Hans Hagen
@ 2011-12-19 13:07 ` Martin Bruchanov
  2011-12-19 22:13   ` Hans Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: Martin Bruchanov @ 2011-12-19 13:07 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 983 bytes --]

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/mkiv/metapost/plugins-004.tex

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


[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [***SPAM***] MetaFun linear_shade with transparency?
  2011-12-19 13:07 ` Martin Bruchanov
@ 2011-12-19 22:13   ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2011-12-19 22:13 UTC (permalink / raw)
  To: bruxy, mailing list for ConTeXt users

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/mkiv/metapost/plugins-004.tex
>
> 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
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-19 22:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-17 22:02 [***SPAM***] MetaFun linear_shade with transparency? Martin Bruchanov
2011-12-18 13:30 ` Hans Hagen
2011-12-19 13:07 ` Martin Bruchanov
2011-12-19 22:13   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).