[GRASSLIST:10398] Re: G_plot_polygon() suggestion for vector areas

Huidae Cho grass4u at gmail.com
Sat Feb 18 14:21:42 EST 2006


Actually, I'm also curious about that.  What's different between
G_plot_* and R_* and when should we use G_plot_* instead of R_*?  When
we need automatic coordinate conversion?

BTW, why does this make difficult to develop other drivers?

Huidae Cho


On Sat, Feb 18, 2006 at 10:55:53AM +0000, Glynn Clements wrote:
> 
> Huidae Cho wrote:
> 
> > I've added G_setup_fill() function to fill a polygon with dots.  I chose dotted
> > fill over dashed fill because of kind of the moire effect.  You can see a
> > screenshot of d.vect with "fill=2 width=1" option.  "fill=2 width=1" means that
> > it fills areas with 1 pixel dots and 2 pixel skip.
> 
> Is there a reason why d.vect has to use G_plot_area() rather than e.g.
> R_polygon_abs()?
> 
> Apart from making the HTMLMAP driver useless, it also eliminates the
> possibility of some potential future developments, e.g. a useful
> PostScript driver.
> 
> -- 
> Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list