[GRASS-dev] Re: [GRASS GIS] #250: ps.map: new parameter to set line
cap style of vector lines
GRASS GIS
trac at osgeo.org
Tue Aug 26 03:44:23 EDT 2008
#250: ps.map: new parameter to set line cap style of vector lines
--------------------------+-------------------------------------------------
Reporter: alf | Owner: hamish
Type: enhancement | Status: assigned
Priority: major | Milestone: 6.4.0
Component: ps.map | Version: svn-develbranch6
Resolution: | Keywords: line cap style vector round
Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Changes (by hamish):
* cpu: x86-32 => All
Comment:
I had a look to do a similar thing with the region instruction, which is
currently drawn as a series of individually stroked lines which do not
connect and look ugly if line width is set thick. These lines are plotted
using the do_plt.c plotting instruction tmp file.
It can't be passed as a rectangle plot instruction as it subdivides the
horizontal line into three sections in case the region goes the long way
around a LL world.
I expect the easiest solution for the (sub)region box will be to put PS
writing code directly into r_wind.c, but I worry that that code is
executed before the main ps.map box is calculated and rendered.
So as a second solution for that- perhaps we should add a "Y" polyline
instruction to the do_plt.c set of internal drawing commands. ??
As for the main wish, I am still waiting on any feedback wrt the level of
control we should provide before applying the patch.
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/250#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list