[Therion] create area filled with a colour
Mihai Terente
terenteml at gmail.com
Sat Nov 26 14:38:43 CET 2011
Dear Bruce,
Thanks for the answer, it was exactly was I was looking for.
I am new to therion and I have to admit that I didn't read the whole
documentation, yet.
Mihai
On Fri, Nov 25, 2011 at 10:11 PM, Bruce <bruce at tomo.co.nz> wrote:
> If you want to create a user defined area, you could copy the area water
> code from here http://therion.speleo.sk/wiki/doku.php?id=metapost
> And modify it like this say...
>
> code metapost
> def a_u_myarea (expr p) =
> T:=identity;
> thfill p withcolor black; % or 0.5green + 0.1red for example
> enddef;
> endcode
>
> initsymbol("a_u_myarea ")
>
> #to include the new symbol in the legend...
> code metapost
> def a_u_myarea_legend =
> a_u_myarea(<some appropriate code in here>)
> enddef;
> endcode
>
>>Dear friends,
>
>>Is there a way to create a simple filled area? Suppose I want to
>>create a black area enclosed by a line of type border to draw the
>>outline of a pillar, which is to big to be represented as a point
>>symbol.
>
>>Mihai T.
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
>
More information about the Therion
mailing list