Ticket #1297 (closed enhancement: fixed)

Opened 5 years ago

Last modified 3 years ago

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:
Platform Version: Platform: All
Must Fix for Release: No 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

Changed 4 years ago by kyngchaos

  • platform_version 10.5.4 deleted
  • platform changed from OS X to All

Changed 3 years ago by pcav

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

Changed 3 years ago by ollie

  • status changed from new to closed
  • resolution set to fixed

Agreed, closing.

Note: See TracTickets for help on using tickets.