[GRASS-dev] fancy compass symbols

Hamish hamish_nospam at yahoo.com
Thu Sep 28 03:12:03 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.

Glynn wrote:
> 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().


ah, ok. Changed D_symbol() to use R_{move,cont}_abs()

In 6.3 also added a new fn: D_set_clip_window_to_screen_window()
and a new symbol: extra/fancy_compass



Hamish




More information about the grass-dev mailing list