[Therion] Making custom metapost symbols recognize "symbol-color" thconfig command
Bruce Mutton
bruce at tomo.co.nz
Wed Sep 28 08:15:28 CEST 2016
Beni
If you look on that page, and scroll down to " Code to make full colour symbols", you will see the nature of the code and Layout I wrote.
I forget whether colour_water_bg and colour_block_bg etc are built in variables, or custom variables that Dave and I used to compliment the built in symbol-color statement. The later I expect.
As Martin suggested, perusing the files in the mpost folder should help with deciphering.
Bruce
-----Original Message-----
From: Therion [mailto:therion-bounces at speleo.sk] On Behalf Of Benedikt Hallinger
Sent: Wednesday, 28 September 2016 9:11 AM
To: therion at speleo.sk
Subject: Re: [Therion] Making custom metapost symbols recognize "symbol-color" thconfig command
Thank yu for the fast answers,
is this "colour_block_bg" variable the bit im looking for?
> if known colour_block_bg: thfill p withcolor colour_block_bg; else:
thfill p withcolor (0.75,0.75,0.75); fi;
Am 2016-09-27 21:40, schrieb Bruce Mutton:
> Beni
> Long ago I thought about such things. There were some challenges I
> did not crack. I forget now.
> Have a look at Colour Dependant Visualization of Symbols in
> https://therion.speleo.sk/wiki/doku.php/metapost
>
> Bruce
>
> -----Original Message-----
> From: Therion [mailto:therion-bounces at speleo.sk] On Behalf Of Benedikt
> Hallinger
> Sent: Wednesday, 28 September 2016 7:39 AM
> To: therion at speleo.sk
> Subject: [Therion] Making custom metapost symbols recognize "symbol-color"
> thconfig command
>
> Hi there,
> i wonder how i can make my own custom map symbols recognize the
> "symbol-color" command.
>
> Maybe i also get some spare time and can adjust some of the default
> symbols to honor it too?
>
> Greetings, Beni
> _______________________________________________
More information about the Therion
mailing list