[GRASS-dev] display/drivers/HTMLMAP status

Hamish hamish_nospam at yahoo.com
Wed Feb 14 21:17:51 EST 2007


(no time to run some time trials on your patch yet)

Glynn Clements wrote:
> One thing I have since noticed is that the existing method clips to
> the current graphics frame, whereas R_polygon_abs() doesn't (the core
> R_* functions only clip to the screen; they don't understand frames).
> 
> It's possible that was the reason for the current mechanism.
> 
> In any case, it would be straightforward to add an option to d.vect to
> choose between G_plot_polygon(), R_polygon_abs() and the new
> D_polygon() and D_polygon_clip() functions for rendering filled
> polygons. All of those except for G_plot_polygon would work with the
> HTMLMAP driver.
> 
> So, I intend to add such an option, and to resurrect the HTMLMAP
> driver.


Should it be a compile time #ifdef or a module flag? ie if it will be
removed later on it might be better to hide it from the user during
development. On the otherhand it gets less testing that way. shrug.


Hamish




More information about the grass-dev mailing list