Details Ticket 1765


Comment | Reply | Take | Open


Serial Number 1765
Subject d.erase: color=RGB triplet would be nice
Area wish
Queue grass
Requestors hamish_nospam@yahoo.com
Owner none
Status resolved
Last User Contact Wed Apr 23 14:30:05 2003 (5 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Mon Feb 9 07:16:21 2004 (5 yr ago)
Created Thu Mar 27 07:27:41 2003 (5 yr ago)

Transaction History Ticket 1765


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  
done.


Hamish
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request