Opened 14 years ago

Last modified 11 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 by hamish, 14 years ago

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 by hamish, 14 years ago

Vincent suggests:

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

in reply to:  2 comment:3 by vincent, 14 years ago

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 by hamish, 14 years ago

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

Hamish

comment:5 by hamish, 11 years ago

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