Opened 16 years ago

Closed 14 years ago

#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
Component: Symbology Version: Trunk
Keywords: capping linecap qt Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

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.

Change History (3)

comment:1 by kyngchaos, 15 years ago

Platform: OS XAll
Platform Version: 10.5.4

comment:2 by pcav, 14 years ago

Isn't this solved in the new symbology? Can we close it?

comment:3 by ollie, 14 years ago

Resolution: fixed
Status: newclosed

Agreed, closing.

Note: See TracTickets for help on using tickets.