[GRASS-dev] fancy compass symbols

Hamish hamish_nospam at yahoo.com
Wed Sep 27 11:01:18 EDT 2006


interesting observation:
  echo "symbol extra/compass 60 10 90 black grey" | d.graph

line color only draws if the symbol is in the region bounds, not if it
is in the NULL bands at the sides of the xmon. Fill color draws
regardless of display region.



I have written two new fancy compass symbols, one looks good on the
screen, the other looks good for postscript. (due to width=0 in the
xmon, or width=too_thick in ps.map)


# display mon (draw border on top)
echo "symbol extra/compass_xmon 60 10 90 black grey" | d.graph


# postscript (draw border behind)
ps.map out=test.ps << EOF
point 10% 82%
  symbol extra/compass_ps
  size 90
end
EOF


# possible xmon compromise (draw thick border behind)
echo -e "width 4\nsymbol extra/compass_ps 200 50 50 black grey" | d.graph



The current extra/compass looks terrible in ps.map output.



Hamish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compass_xmon
Type: application/octet-stream
Size: 1122 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20060928/1dd5d3fe/compass_xmon.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compass_ps
Type: application/octet-stream
Size: 950 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20060928/1dd5d3fe/compass_ps.obj


More information about the grass-dev mailing list