diff options
author | Qt CI Bot <qt_ci_bot@qt-project.org> | 2021-04-14 16:39:38 +0000 |
---|---|---|
committer | Qt CI Bot <qt_ci_bot@qt-project.org> | 2021-04-14 16:39:38 +0000 |
commit | 1d59fe368a0bd0c04264618e3e6f09d7ce289d33 (patch) | |
tree | 1736f54a94b7c65821d09bf1ca99ef873b397543 /src/gui/painting | |
parent | 5341569b41f0e5e2602fde0e88ceeac399a1f60f (diff) | |
parent | 1d3fe418e2cacba4cd75156ff94237d9f2461f07 (diff) |
Merge integration refs/builds/qtci/dev/1618405176
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qrasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qrasterizer.cpp b/src/gui/painting/qrasterizer.cpp index 48d41f41f0..e851a3876a 100644 --- a/src/gui/painting/qrasterizer.cpp +++ b/src/gui/painting/qrasterizer.cpp @@ -864,7 +864,7 @@ void QRasterizer::rasterizeLine(const QPointF &a, const QPointF &b, qreal width, if (leftWidth == QScFixedFactor) coverage[0] = rightWidth * 255; else - coverage[0] = (leftWidth + rightWidth) * 255; + coverage[0] = (rightWidth + leftWidth - QScFixedFactor) * 255; x[0] = iLeft; len[0] = 1; } else { |