[QGIS-trac] [Quantum GIS] #1297: Add ability to control stroke
capping for line symbology (or default to flat cap)
Quantum GIS
qgis at qgis.org
Fri Sep 5 16:52:57 EDT 2008
#1297: Add ability to control stroke capping for line symbology (or default to
flat cap)
-----------------------------------------------+----------------------------
Reporter: ollie | Owner: nobody
Type: enhancement | Status: new
Priority: minor: annoyance or enhancement | Milestone: Version 1.0.1
Component: Symbology | Version: HEAD
Keywords: capping linecap qt | Platform_version: 10.5.4
Platform: OS X | Must_fix: No
Status_info: 0 |
-----------------------------------------------+----------------------------
It would be good to have control over how stroke capping is set - so that
strokes which have thickness x don't extend beyond the actual end of the
polyline by distance x/2, but rather finish exactly at it.
See http://doc.trolltech.com/4.5/qpen.html#setCapStyle
Default is square capping, which causes the protrusion past the polyline
end-point
QT 3 default was for flat capping - looks like this changed in QT 4.
Also looks like the old (pre 1.0) print composer setCapStyle to flat
capping.
One problem with flat-capping is that it might cause ugly white slivers to
appear where two polylines meet each other not-quite head-on - so probably
needs to be a configurable option.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1297>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list