3 ms·
The venerable and ridculously full-featured QPainter has a QPen with both a line cap style and a pen join style, documention of the latter: https://doc.qt.io/qt
by ahartmetz 4y ago
The venerable and ridculously full-featured QPainter has a QPen with both a line cap style and a pen join style, documention of the latter: https://doc.qt.io/qt-6/qt.html#PenJoinStyle-enum https://doc.qt.io/qt-6/qt.html#PenJoinStyle-enum
The two have to be different: a cap is a fixed piece of geometry, a join style calculates geometry based on the segments it joins.