Ticket #1297 (closed enhancement: fixed)
Add ability to control stroke capping for line symbology (or default to flat cap)
|Reported by:||ollie||Owned by:||nobody|
|Priority:||minor: annoyance||Milestone:||Version 1.0.3|
|Keywords:||capping linecap qt||Cc:|
|Must Fix for Release:||No||Awaiting user input:||no|
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.