[GRASS-dev] fancy compass symbols

Glynn Clements glynn at gclements.plus.com
Wed Sep 27 18:00:17 EDT 2006


Hamish wrote:

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

D_symbol() uses R_polygon_abs() for the fill and D_{move,cont}_abs()
for the outline. The latter clip against the clip window, which
defaults to the map window (as set by D_do_conversions()) unless
explicitly set with D_set_clip_window().

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list