Ticket #876 (assigned enhancement)

Opened 3 years ago

Last modified 3 weeks ago

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@…
Platform: All CPU: 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

  Changed 3 years ago by hamish

  • cc grass-dev@… added
  • owner changed from grass-dev@… to hamish
  • priority changed from normal to minor
  • status changed from new to assigned
  • milestone changed from 6.4.0 to 6.5.0

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

follow-up: ↓ 3   Changed 3 years ago by hamish

Vincent suggests:

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

in reply to: ↑ 2   Changed 3 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.

  Changed 3 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

  Changed 3 weeks ago by hamish

  • summary changed from new option for ps.map border to ps.map rfe: new instruction to flood fill background color
Note: See TracTickets for help on using tickets.