Thu, Mar 27 2003
07:27:41
|
|
Request created by guest
|
|
Subject: d.erase: color=RGB triplet would be nice
Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0.0+
It would be nice if d.erase could use RGB triplets for its color= option, à la
d.vect.area.
My current workaround is to use v.cutregion.sh to define a bounding box, and
then use d.vect.area fillcolor=r:g:b as the first display command.
Hamish
|
|
Wed, Apr 23 2003
14:30:05
|
|
Mail sent by guest
|
|
Hamish,
have a look at 5.1: There is a different color translation function
which does the job (e.g. d.vect). But maybe it's just better to
switch to 5.1 completely and add there what's missing.
Markus
|
|
Mon, Jan 19 2004
07:15:25
|
|
Comments added by hbowman
|
|
note
besides modifying
src/display/d.text/cmd/main.c
with the R:G:B colour patch as in d.text,
http://freegis.org/cgi-bin/viewcvs.cgi/grass/src/display/d.text/cmd/main.c.diff?r1=1.5&r2=1.6
the API to Derase would have to be changed
src/libes/D/Derase.c
possibly breaking other things..
Hamish
|
|
Mon, Feb 9 2004
07:16:21
|
|
Status changed to resolved by hbowman
|
|
Mon, Feb 9 2004
07:16:21
|
|
Comments added by hbowman
|
|
|