Re: [NTG-context] MP & text transparency

2017-04-24 Thread Hans Hagen
On 4/24/2017 3:39 PM, Thomas A. Schmitz wrote: drawoptions(withcolor \MPcolor{tred}) nowadays you can also say: withcolor "tred" - Hans Hagen | PRAGMA ADE Ridderstraat

Re: [NTG-context] MP & text transparency

2017-04-24 Thread Procházka Lukáš Ing .
Hello, that works fine, thank you! Best regards, Lukas On Mon, 24 Apr 2017 15:39:56 +0200, Thomas A. Schmitz wrote: On 24.04.2017 15:11, Procházka Lukáš Ing. wrote: The rectangle drawn is transparent, which is OK. But the text "Test" is not, is it fully red;

Re: [NTG-context] MP & text transparency

2017-04-24 Thread Thomas A. Schmitz
On 24.04.2017 15:11, Procházka Lukáš Ing. wrote: The rectangle drawn is transparent, which is OK. But the text "Test" is not, is it fully red; why? How to specify text to be partially transparent, too? TIA. Best regards, Lukas Wouldn't it be better to define the transparency in ConTeXt

[NTG-context] MP & text transparency

2017-04-24 Thread Procházka Lukáš Ing .
Hello, suppose having the following code: \startuseMPgraphic{T} newpath rc; rc := fullsquare xyscaled (50mm, 50mm); color col; col := (1.,.1,.1); draw rc withpen pencircle scaled (2.5mm) withcolor %col; transparent(1, .4, col);