Opened 10 years ago

Last modified 7 years ago

#876 assigned enhancement

ps.map rfe: new instruction to flood fill background color

Reported by: vincent Owned by: hamish
Priority: minor Milestone: 6.5.0
Component: Ps.map Version: svn-develbranch6
Keywords: background, border Cc: grass-dev@…
CPU: All Platform: All

Description

It would be nice to add an fcolor (fill color) argument to the 'border' option, in order to switch from white to any color the background of a map composition.

Thank you, Vincent

Change History (5)

comment:1 Changed 10 years ago by hamish

Cc: grass-dev@… added
Milestone: 6.4.06.5.0
Owner: changed from grass-dev@… to hamish
Priority: normalminor
Status: newassigned

work-around until this gets added: v.in.region + vareas as the last/bottom-most layer

comment:2 Changed 10 years ago by hamish

Vincent suggests:

"0 0 width height box
stroke "
at the beginning of the ps file.

comment:3 in reply to:  2 Changed 10 years ago by vincent

Sorry, I did it in a hurry, I was meaning :

"0 0 moveto
<width> 0 lineto
<width> <height> lineto
0 <height> lineto
closepath
.5 setgray
fill"

In this example it will draw a gray background on the map extent.

Vincent.

comment:4 Changed 10 years ago by hamish

my thinking now is to make it its own new instruction called "background", not as part of the "border" instruction.

Hamish

comment:5 Changed 7 years ago by hamish

Summary: new option for ps.map borderps.map rfe: new instruction to flood fill background color
Note: See TracTickets for help on using tickets.