[Therion] Color water

Ladislav Blažek lada at blazcata.cz
Mon Sep 28 18:40:45 CEST 2009


Hi Markus,
I think this is the correct way how to redefine symbol:

layout my_layout
...
  code metapost
    def a_water_MY (expr p) =
      T:=identity;
      thfill p withcolor (0,0,1);
    enddef;
    initsymbol("a_water_MY");
  endcode

  symbol-assign area water MY
...
endlayout


On Mon, 28 Sep 2009 17:16:57 +0200, "Boldt, Markus"
<markus.boldt at ratiopharm.de> wrote:
> Hi, 
> I have tried to color "my" water blue. So I have copied the code from
> the wiki in my layout. 
> code metapost 
> def a_water (expr p) = 
> T:=identity; 
> thfill p withcolor (0.1, 0.2, 0.8); 
> enddef; 
> endcode 
> 
> But it doesn`t work? 
> What could be the reason? 
> 
> 73
> Markus 




More information about the Therion mailing list