[Therion] Color for one scrap in a Project

Martin Budaj m.budaj at gmail.com
Mon Nov 5 18:48:11 CET 2012


On Sun, Oct 28, 2012 at 11:56 AM, Markus Boldt <markus.boldt at gmx.net> wrote:
> Is there an additionally possibility to make this definition so that the
> area will be a bit transparent?

Try this code:

def_transparent_rgb(tr_lgrey, 0.73, 0.71, 0.75);

def a_u_lgrey(expr P) =
   T:=identity;
   thfill P withtransparentcolor tr_lgrey;
enddef;

There are a few predefined transparent colors, the most interesting of
them is tr_bg (current scrap background). Standard opacity value
(defined in the layout section) is applied.

Martin



More information about the Therion mailing list