Fix rendering lines with zero length
In case of having a zero length line, the line should be rendered
as a point when the stroke-linecap is set to round or square.
Fixes: QTBUG-132468
Pick-to: 6.9 6.8 6.7
Change-Id: I7fb12be891eb5eb4fcee0826a4ef8aeb075d4c7d
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
| commit | 05be1624423789148bd8e7beb74667a29ba12509 |
| parent | b7d97aa29508b15aea71d172251aa85ec95ca52e |
| author | Hatem ElKharashy <hatem.elkharashy@qt.io> |
| committer | Hatem ElKharashy <hatem.elkharashy@qt.io> |
| commit time | Fri, 28 Feb 2025 15:05:24 +0200 |