[GRASS5] R_line_width()

Glynn Clements glynn at gclements.plus.com
Tue Aug 9 10:57:11 EDT 2005

Huidae Cho wrote:

> I added 'int R_line_width(int width)' to the raster library. This
> changes line width for Draw_line().

The implementation in the PNG driver is massively inefficient (calls
acos() and tan() once per pixel). A more sensible approach would just
draw multiple, parallel single-pixel lines.

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list